New file |
| | |
| | | package com.example.erp.dto.otherSystem; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("pp.optimize_project") |
| | | public class OptimizeProject { |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | //工程号 |
| | | @NotNull(message = "This field cannot be null") |
| | | @TableField("project_no") |
| | | private String engineerId; |
| | | //工程名称 |
| | | @TableField("project_name") |
| | | private String engineerName; |
| | | //平均利用率 |
| | | @TableField("avg_cut_pct") |
| | | private Double avgAvailability; |
| | | //有效利用率 |
| | | @TableField("valid_cut_pct") |
| | | private Double validAvailability; |
| | | //尾片利用率 |
| | | @TableField("last_cut_pct") |
| | | private Double lastAvailability; |
| | | //小片总数 |
| | | @NotNull(message = "This field cannot be null") |
| | | @TableField("glass_total") |
| | | private Integer glassTotal; |
| | | //小片总面积 |
| | | @TableField("glass_total_area") |
| | | private Double glassTotalArea; |
| | | //计划原片总数 |
| | | @TableField("frist_stock_qty") |
| | | private Integer planPatternTotal; |
| | | //计划原片总面积 |
| | | @TableField(select = false,exist = false) |
| | | private Double planPatternTotalArea; |
| | | //实际原片总数 |
| | | @TableField("raw_stock_qty") |
| | | private Integer realityPatternTotal; |
| | | //实际原片总面积 |
| | | @TableField("raw_stock_area") |
| | | private Double realityPatternTotalArea; |
| | | //膜系id |
| | | @TableField("glass_type") |
| | | private String filmsId; |
| | | @NotNull(message = "This field cannot be null") |
| | | private Integer type;//补单0,正常1 |
| | | |
| | | @TableField("glass_thickness") |
| | | @NotNull(message = "This field cannot be null") |
| | | private Double thickness; |
| | | private String state; |
| | | |
| | | //原片使用 |
| | | @TableField(select = false,exist = false) |
| | | private List<UpPattenList> upPattenList; |
| | | |
| | | //第三方流程卡表 |
| | | @TableField(select = false,exist = false) |
| | | private List<FlowCardList> flowCardList; |
| | | |
| | | //优化小片明细 |
| | | @TableField(select = false,exist = false) |
| | | private List<GlassDetailList> glassDetailList; |
| | | } |