Files
klp-oa/klp-flow/src/main/java/com/klp/flow/domain/SchProdSchedule.java
Joshi faaa5b1b75 feat(flow): 添加排产单管理功能模块
- 创建排产单主实体类、业务对象和视图对象
- 创建排产单明细实体类、业务对象和视图对象
- 实现排产单主和明细的服务层接口及实现类
- 添加排产单主和明细的数据访问层映射器
- 配置MyBatis映射XML文件
- 实现排产单主和明细的控制器REST接口
- 添加分页查询、新增、修改、删除等基本操作功能
- 集成Excel导出功能
- 添加数据验证和业务逻辑处理
2026-06-23 13:52:30 +08:00

141 lines
2.7 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}