|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
|---|
|  |  |  | import com.dy.common.po.BaseEntity; | 
|---|
|  |  |  | import jakarta.validation.constraints.NotEmpty; | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  | import jakarta.validation.constraints.NotNull; | 
|---|
|  |  |  | import lombok.*; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 物料表 | 
|---|
|  |  |  | * @TableName plt_material | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @TableName(value ="plt_material") | 
|---|
|  |  |  | @TableName(value="plt_material", autoResultMap = true) | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @Builder | 
|---|
|  |  |  | @ToString | 
|---|
|  |  |  | @NoArgsConstructor | 
|---|
|  |  |  | @AllArgsConstructor | 
|---|
|  |  |  | public class PltMaterial  implements BaseEntity { | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 编号 | 
|---|
|  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 产品实体编号 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @NotEmpty(message = "产品实体编号不能为空") | 
|---|
|  |  |  | @JSONField(serializeUsing= ObjectWriterImplToString.class) | 
|---|
|  |  |  | @NotNull(message = "产品实体编号不能为空") | 
|---|
|  |  |  | public Long proId; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|