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.other_flow_card") public class FlowCardList { @TableId(type = IdType.AUTO) private Long id; @TableField("process_id") @NotNull(message = "This field cannot be null") private String flowCardId; @NotNull(message = "This field cannot be null") private Double width; @NotNull(message = "This field cannot be null") private Double height; @NotNull(message = "This field cannot be null") private Double thickness; @NotNull(message = "This field cannot be null") private String filmsid; @NotNull(message = "This field cannot be null") private String totalLayer; @NotNull(message = "This field cannot be null") private String layer; @NotNull(message = "This field cannot be null") private String glassTotal; @NotNull(message = "This field cannot be null") private String orderNumber; @NotNull(message = "This field cannot be null") private String productName; }