package org.dromara.system.domain.bo;

import org.dromara.system.domain.TblDzbcPath;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 定制班车-路线业务对象 tbl_dzbc_path
 *
 * @author Lion Li
 * @date 2025-02-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TblDzbcPath.class, reverseConvertGenerate = false)
public class TblDzbcPathBo extends BaseEntity {

    /**
     * 编号
     */
    //@NotNull(message = "编号不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 名称
     */
    //@NotBlank(message = "名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 开始区域
     */
    //@NotNull(message = "开始区域不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long startArea;

    /**
     * 结束区域
     */
    //@NotNull(message = "结束区域不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long endArea;

    /**
     * 开始时间
     */
    //@NotBlank(message = "开始时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String mtime;

    //@NotNull(message = "价格浮动比例不能为空", groups = { AddGroup.class, EditGroup.class })


    /**
     * 备注
     */
    //@NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 扩展1
     */
    //@NotBlank(message = "扩展1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ext1;

    /**
     * 扩展2
     */
    //@NotBlank(message = "扩展2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ext2;

    private Integer price;

    private String costTime;

    /**
     * 是否只返回有排班的路线 1-是 0-否(默认)
     */
    private Integer hasSchedul;


}
