package cn.iocoder.yudao.module.mes.dal.dataobject.pd.techconfirm; import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; import cn.iocoder.yudao.module.mes.enums.DictTypeConstants; import com.baomidou.mybatisplus.annotation.KeySequence; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.*; import java.time.LocalDateTime; /** * MES 产品技术确认函 DO * * @author 超级管理员 */ @TableName("product_tech_confirm") @KeySequence("product_tech_confirm_seq") @Data @EqualsAndHashCode(callSuper = true) @ToString(callSuper = true) @Builder @NoArgsConstructor @AllArgsConstructor public class ProductTechConfirmDO extends BaseDO { /** * 编号 */ @TableId private Long id; /** * 确认函编号 */ private String confirmNo; /** * 客户ID(关联 crm_customer.id) */ private Long customerId; /** * 客户名称 */ private String customerName; /** * 产品名称 */ private String productName; /** * 规格型号 */ private String specification; /** * 技术参数(JSON 格式) */ private String techParams; /** * 模板类型(奥地利/日本/通用) * * 字典 {@link DictTypeConstants#PRODUCT_TECH_CONFIRM_TEMPLATE} */ private String templateType; /** * 编制人ID */ private Long drafterId; /** * 编制人姓名 */ private String drafterName; /** * 编制时间 */ private LocalDateTime draftTime; /** * 审核人ID */ private Long reviewerId; /** * 审核人姓名 */ private String reviewerName; /** * 审核时间 */ private LocalDateTime reviewTime; /** * 客户确认人 */ private String customerConfirmUser; /** * 客户确认时间 */ private LocalDateTime customerConfirmTime; /** * 状态(0=草稿,1=待审核,2=已审核,3=客户已确认) * * 字典 {@link DictTypeConstants#PRODUCT_TECH_CONFIRM_STATUS} */ private Integer status; /** * 备注 */ private String remark; }