package org.dromara.system.domain.bo;

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

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

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

    /**
     * 座位数
     */
    //@NotNull(message = "座位数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long carZw;

    /**
     * GPS设备序列号
     */
    //@NotBlank(message = "GPS设备序列号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String gps;

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

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

    /**
     * 扩展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 Long kyzId;

}
