| | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | @Schema(description = "销售台账id") |
| | | @Schema(description = "销售台账id。生产下单接口通常不需要前端手工填写,存在销售来源时由系统内部回填。") |
| | | private Long salesLedgerId; |
| | | |
| | | @Schema(description = "生产计划ID列表,格式:[1,2,3]") |
| | | @Schema(description = "生产计划ID列表,格式:[1,2,3]。如果按生产计划生成订单,新增时传这个字段即可,系统会自动汇总产品规格和数量。") |
| | | private String productionPlanIds; |
| | | |
| | | @Schema(description = "产品规格id") |
| | | @Schema(description = "产品规格id。手动新增时必填;如果传了 productionPlanIds,则可由系统自动带出。") |
| | | private Long productModelId; |
| | | |
| | | @Schema(description = "生产订单号") |
| | |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private LocalDateTime updateTime; |
| | | |
| | | @Schema(description = "工艺路线id") |
| | | @Schema(description = "工艺路线id。新增时选填,不传则系统按产品规格自动匹配最新工艺路线。") |
| | | private Long technologyRoutingId; |
| | | |
| | | @Schema(description = "需求数量") |
| | | @Schema(description = "需求数量。手动新增时必填且必须大于 0;如果传了 productionPlanIds,则可由系统自动带出。") |
| | | private BigDecimal quantity; |
| | | |
| | | @Schema(description = "完成数量") |
| | |
| | | @Schema(description = "结束日期") |
| | | private LocalDateTime endTime; |
| | | |
| | | @Schema(description = "销售产品规格id") |
| | | private Integer saleLedgerProductId; |
| | | @Schema(description = "销售产品规格id。生产下单接口一般不作为前端必填项,存在销售来源时由系统内部关联。") |
| | | private Integer salesLedgerProductId; |
| | | |
| | | @Schema(description = "创建人ID") |
| | | @TableField(fill = FieldFill.INSERT) |
| | |
| | | |
| | | @Schema(description = "状态(1.待开始、2.进行中、3.已完成、4.已取消)") |
| | | private Integer status; |
| | | |
| | | @Schema(description = "强度") |
| | | private String strength; |
| | | } |