| New file |
| | |
| | | package com.by4cloud.platformx.business.entity; |
| | | |
| | | import com.by4cloud.platformx.common.data.mybatis.BaseModel; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.persistence.Column; |
| | | import jakarta.persistence.Entity; |
| | | import jakarta.persistence.Table; |
| | | import lombok.Data; |
| | | import org.hibernate.annotations.Comment; |
| | | |
| | | /** |
| | | * @author wjli |
| | | * @description排产计划标的物 |
| | | * @date 2026/4/29 10:51 |
| | | **/ |
| | | @Data |
| | | @Entity |
| | | @Table(name = "plan_subject_matter") |
| | | @Comment("排产计划标的物") |
| | | public class PlanSubjectMatter extends BaseModel<PlanSubjectMatter> { |
| | | |
| | | @Schema(description = "产品Id") |
| | | @Column(columnDefinition = "bigint comment '产品Id'") |
| | | private Long productId; |
| | | |
| | | @Schema(description = "产品名称") |
| | | @Column(columnDefinition = "VARCHAR(50) comment '产品名称'") |
| | | private String productName; |
| | | |
| | | @Schema(description = "产品Erp编码") |
| | | @Column(columnDefinition = "VARCHAR(50) comment '产品Erp编码'") |
| | | private String erpCode; |
| | | |
| | | @Schema(description = "产品数量") |
| | | @Column(columnDefinition = "int default 0 comment '产品数量'") |
| | | private Integer productNum; |
| | | } |