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

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_delivery_task_vehicle")
@KeySequence("asset_delivery_task_vehicle_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeliveryTaskVehicleDO extends BaseDO {

    @TableId
    private Long id;
    private Long taskId;
    private Long contractVehicleId;
    private Long vehicleId;
    private String plateNo;
    private String vin;
    private String brand;
    private String model;
    private BigDecimal monthRent;
    private BigDecimal deposit;
    private LocalDateTime actualDeliveryDate;
    private String deliveryPerson;
    private Boolean isDelivered;

}
