package com.wms_main.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * DBS表映射
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_app_dbs", autoResultMap = true)
public class TAppDbs extends BaseImportEntity {
    /**
     * 主键id
     */
    @TableId(value = "dbs_id")
    private String dbsId;
    /**
     * 工单
     */
    @TableField(value = "work_order")
    private String workOrder;
    /**
     * dbs原始未处理的零件号，成品号
     */
    @TableField(value = "product_id_origin")
    private String productIdOrigin;
    /**
     * 零件号，成品号
     */
    @TableField(value = "product_id")
    private String productId;
    /**
     * Test计划开始时间
     */
    @TableField(value = "test_plan_start_date")
    private LocalDate testPlanStartDate;
    /**
     * Test计划完成时间
     */
    @TableField(value = "test_plan_finish_date")
    private LocalDate testPlanFinishDate;
    /**
     * PNT计划开始时间
     */
    @TableField(value = "pnt_plan_start_date")
    private LocalDate pntPlanStartDate;
    /**
     * PNT计划完成时间
     */
    @TableField(value = "pnt_plan_finish_date")
    private LocalDate pntPlanFinishDate;
    /**
     * 计划产量/套
     */
    @TableField(value = "plan_production")
    private Integer planProduction;
    /**
     * 设备名称
     */
    @TableField(value = "equipment_name")
    private String equipmentName;
    /**
     * 班次
     */
    @TableField(value = "work_shift")
    private String workShift;
    /**
     * Family
     */
    @TableField(value = "family")
    private String family;
    /**
     * Test No#
     */
    @TableField(value = "test_no")
    private String testNo;
    /**
     * 状态
     */
    @TableField(value = "dbs_status")
    private Integer dbsStatus;
    /**
     * 工作站台
     */
    @TableField(value = "work_stand")
    private String workStand;
    /**
     * 实际工作日期
     */
    @TableField(value = "real_work_date")
    private LocalDate realWorkDate;
    /**
     * 完成时间
     */
    @TableField(value = "finish_time")
    private LocalDateTime finishTime;
    /**
     * K料备注
     */
    @TableField(value = "kitting_remark")
    private String kittingRemark;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
}
