package org.dromara.system.domain.bo;

import org.dromara.system.domain.TblDzbcSite;
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_site
 *
 * @author Lion Li
 * @date 2025-02-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TblDzbcSite.class, reverseConvertGenerate = false)
public class TblDzbcSiteBo 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 areaId;

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


}
