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.persistence.Column; import javax.validation.constraints.NotNull; @Data @TableName("pp.optimize_layout") public class UpPattenList { @TableId(type = IdType.AUTO) private Long id; //工程号 @TableField("project_no") @NotNull(message = "This field cannot be null") private String engineeringId; //膜系 /*@TableField("project_no") private String filmsId;*/ //宽度 @NotNull(message = "This field cannot be null") private double width; //高度 @NotNull(message = "This field cannot be null") private double height; /*//厚度 private double thickness;*/ //原片版图序号stock_id @TableField("stock_id") @NotNull(message = "This field cannot be null") private Integer layoutSequence; }