package cn.iocoder.yudao.module.asset.dal.dataobject.prepare;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 备车记录 DO
 */
@TableName("asset_vehicle_prepare")
@KeySequence("asset_vehicle_prepare_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VehiclePrepareDO extends BaseDO {

    @TableId
    private Long id;
    private Long vehicleId;
    private String plateNo;
    private String vin;
    private Long vehicleModelId;
    private String brand;
    private String model;
    private String vehicleType;
    private String parkingLot;
    private Long contractId;
    private String contractCode;
    private String preparationType;
    private Integer mileage;
    private BigDecimal hydrogenRemaining;
    private String hydrogenUnit;
    private BigDecimal batteryRemaining;
    private Boolean hasBodyAd;
    private String bodyAdPhotos;
    private String enlargedTextPhoto;
    private Boolean hasTailLift;
    private BigDecimal spareTireDepth;
    private String spareTirePhoto;
    private String trailerPlateNo;
    private String defectPhotos;
    /**
     * 关联验车记录ID
     */
    private Long inspectionRecordId;
    private String checkList;
    private String remark;
    /**
     * 状态（0=待提交 1=已完成）
     */
    private Integer status;
    private LocalDateTime completeTime;

}
