| | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.core.domain.MyBaseEntity; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | |
| | | */ |
| | | @Data |
| | | @TableName("production_scheduling") |
| | | @Schema |
| | | public class ProductionScheduling extends MyBaseEntity { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | * 生产明细id |
| | | */ |
| | | @TableField(value = "production_id") |
| | | @Schema(title = "生产明细id") |
| | | private Long productionId; |
| | | /** |
| | | * 煤种ID |
| | | */ |
| | | @TableField(value = "coal_id") |
| | | @Schema(title = "煤种ID") |
| | | private Long coalId; |
| | | |
| | | /** |
| | | * 煤种名称 |
| | | */ |
| | | @Schema(title = "煤种名称") |
| | | @TableField(exist = false) |
| | | private String coalName; |
| | | |
| | | /** |
| | | * 总数量 |
| | | */ |
| | | @TableField(exist = false) |
| | | private BigDecimal productionQuantity; |
| | | |
| | | @TableField(exist = false) |
| | | private Integer searchAll; |
| | | /** |
| | | * 排产数量 |
| | | */ |
| | | @TableField(value = "scheduling_num") |
| | | @Schema(title = "排产数量") |
| | | private BigDecimal schedulingNum; |
| | | |
| | | /** |
| | | * 入库数量 |
| | | */ |
| | | @TableField(value = "success_num") |
| | | @Schema(title = "入库数量") |
| | | private BigDecimal successNum; |
| | | /** |
| | | * 煤料类型(1-成品 2-原料) |
| | | */ |
| | | @TableField(value = "type") |
| | | @Schema(title = "煤料类型(1-成品 2-原料)") |
| | | private Integer type; |
| | | /** |
| | | *状态(1-待生产 2-生产中 3-已报工) |
| | | */ |
| | | @TableField(value = "status") |
| | | @Schema(title = "状态(1-待生产 2-生产中 3-已报工)") |
| | | private Integer status; |
| | | |
| | | /** |
| | | * 单位 |
| | | */ |
| | | @TableField(value = "unit") |
| | | @Schema(title = "单位") |
| | | private String unit; |
| | | /** |
| | | * 工序(字典) |
| | | */ |
| | | @TableField(value = "process") |
| | | @Schema(title = "工序(字典)") |
| | | private String process; |
| | | /** |
| | | * 工时定额 |
| | | */ |
| | | @TableField(value = "work_hours") |
| | | @Schema(title = "工时定额") |
| | | private BigDecimal workHours; |
| | | /** |
| | | * 排产日期 |
| | |
| | | @TableField(value = "scheduling_date") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @Schema(title = "排产日期") |
| | | private Date schedulingDate; |
| | | /** |
| | | * 排产人id |
| | | */ |
| | | @TableField(value = "scheduling_user_id") |
| | | @Schema(title = "排产人id") |
| | | private Long schedulingUserId; |
| | | /** |
| | | * 排产人名称 |
| | | */ |
| | | @TableField(value = "scheduling_user_name") |
| | | @Schema(title = "排产人名称") |
| | | private String schedulingUserName; |
| | | |
| | | } |