package org.dromara.system.domain.bo;

import org.dromara.system.domain.TblDzbcArea;
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_area
 *
 * @author Lion Li
 * @date 2025-02-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TblDzbcArea.class, reverseConvertGenerate = false)
public class TblDzbcAreaBo extends BaseEntity {

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

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

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

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

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

    /**
     * 备注
     */
    //@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;

    /**
     * 是否只返回有未过期排班的区域 1-是 0-否(默认)
     */
    private Integer hasSchedul;


}
