package com.hotwj.platform.resourceManagement.vehicleCertReissue.domain.bo;

import com.hotwj.platform.resourceManagement.vehicleCertReissue.domain.HotVehicleCertReissue;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 证件补领登记业务对象 hot_vehicle_cert_reissue
 *
 * @author shihongwei
 * @date 2025-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotVehicleCertReissue.class, reverseConvertGenerate = false)
public class HotVehicleCertReissueBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private String id;

    /**
     * 主键集合(用于批量导出等场景)
     */
    private List<String> ids;

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

    /**
     * 车辆ID
     */
    private String vehicleId;

    /**
     * 车牌号
     */
    private String plateNumber;

    /**
     * 运营状态:1=正常,2=暂停,3=过户,4=报废
     */
    private Long operationStatus;

    /**
     * 补领类型(如: 行驶证)
     */
    @NotBlank(message = "补领类型(如: 行驶证)不能为空", groups = {AddGroup.class, EditGroup.class})
    private String reissueType;

    /**
     * 登记时间
     */
    @NotNull(message = "登记时间不能为空", groups = {AddGroup.class, EditGroup.class})
    private Date registerTime;

    /**
     * 领取时间
     */
    @NotNull(message = "领取时间不能为空", groups = {AddGroup.class, EditGroup.class})
    private Date pickupTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 0=正常, 1=已删除
     */
    private Long isDeleted;


}
