package com.klp.flow.domain; import com.baomidou.mybatisplus.annotation.*; import com.klp.common.core.domain.BaseEntity; import lombok.Data; import lombok.EqualsAndHashCode; import java.math.BigDecimal; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; /** * 排产单主对象 sch_prod_schedule * * @author klp * @date 2026-06-23 */ @Data @EqualsAndHashCode(callSuper = true) @TableName("sch_prod_schedule") public class SchProdSchedule extends BaseEntity { private static final long serialVersionUID=1L; /** * 排产单主键ID */ @TableId(value = "schedule_id") private Long scheduleId; /** * 排产单号(唯一标识,钢卷关联依据) */ private String scheduleNo; /** * 生产日期(和合同号组成业务关联键) */ private Date prodDate; /** * 排产状态:0草稿 1待审核 2已下达 3已退回 */ private Long scheduleStatus; /** * 排产总计划吨数 */ private BigDecimal totalPlanWeight; /** * 关联销售合同号 */ private String relContractNo; /** * 业务员 */ private String businessUser; /** * 联系电话 */ private String businessPhone; /** * 订单日期 */ private Date orderDate; /** * 订货单位 */ private String customerName; /** * 交货期(天) */ private Long deliveryCycle; /** * 产品用途 */ private String usePurpose; /** * 品名:冷硬钢卷/镀锌钢卷/冷轧钢卷/镀铬钢卷 */ private String productType; /** * 厚度公差 */ private String thicknessTolerance; /** * 宽度公差 */ private String widthTolerance; /** * 表面质量 */ private String surfaceQuality; /** * 表面处理 */ private String surfaceTreatment; /** * 内径尺寸 */ private String innerDiameter; /** * 外径要求 */ private String outerDiameter; /** * 包装要求 */ private String packReq; /** * 切边要求 */ private String cutEdgeReq; /** * 单件重量 */ private String singleCoilWeight; /** * 交货重量偏差 */ private String weightDeviation; /** * 其他技术要求 */ private String otherTechReq; /** * 付款情况说明 */ private String paymentDesc; /** * 退回原因 */ private String returnReason; /** * 备注 */ private String remark; /** * 删除标识 0正常 2删除 */ @TableLogic private Long delFlag; }