guoyujie
2025-04-27 c67072a987317441f2212bb9bdc5529b4e505530
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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;
}