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.time.LocalDate;

/**
 * 交车任务 DO
 */
@TableName("asset_delivery_task")
@KeySequence("asset_delivery_task_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeliveryTaskDO extends BaseDO {

    @TableId
    private Long id;
    private String taskCode;
    private Long contractId;
    private String contractCode;
    private String projectName;
    private Long customerId;
    private String customerName;
    private LocalDate expectedDeliveryDateStart;
    private LocalDate expectedDeliveryDateEnd;
    private LocalDate billingStartDate;
    private String deliveryProvince;
    private String deliveryCity;
    private String deliveryLocation;
    private Integer vehicleCount;
    /**
     * 任务状态（0=激活 1=挂起）
     */
    private Integer taskStatus;
    /**
     * 交车状态（0=未交车 1=已交车）
     */
    private Integer deliveryStatus;
    private Boolean needReturn;

}
