package com.jwipc.supplier.model.po;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Data
public class SupplierPurchaseCategoryListPO implements Serializable {
    @Serial
    private static final long serialVersionUID = -3156821951944206232L;
    private Long id;

    /**
     * 供应商id，关联供应商主数据
     */
    private Long supplierId;
    private Long invitationId;

    /**
     * 产品小类，关联t_product_group 编码
     */
    private String purchaseCategoryCode;

    /**
     * 物料小类名称
     */
    private String purchaseCategoryName;

    /**
     * 状态 1.注册 2.潜在 3.正式 4.临时 5.退出 6.合格
     */
    private Integer state;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建来源：0-准入新建   1-品类扩展
     */
    private Integer createType;

    /**
     * 付款条件:数据字典（payment_method）
     */
    private String paymentTerms;

    /**
     * 公司编码
     */
    private String companyCode;

    /**
     * 处理信息
     */
    private String handleMsg;

    /**
     * 税率编码(字典表item_code)
     */
    private String taxCode;

    /**
     * 注册币种
     */
    private String currencyCode;

    /**
     * 统御科目
     */
    private String controlSubject;

    /**
     * 采购组织编码
     */
    private String purchaseOrgCode;

    /**
     * 转小批量时间
     */
    private LocalDateTime smallTime;

    /**
     * 转合格时间
     */
    private LocalDateTime qualifiedTime;

    /**
     * 是否优先
     */
    private Integer firstFlag;

    /**
     * 创建人
     */
    private Long createId;

    private LocalDateTime createTime;

    /**
     * 删除标记 0.正常 1.删除
     */
    private Integer deleteFlag;
    private Integer apprState;
    /**
     * Oa流程id
     */
    private String oaId;

    /**
     * 供应商编码
     */
    private String supplierCode;

    /**
     * ERP_编码
     */
    private String supplierErpCode;
    /**
     * 供应商全称
     */
    private String supplierName;
    private String templateName;

    /**
     * 数据字典【公司类型】企业性质
     */
    private String supplierTypeId;
    private String supplierGenre;
    /**
     * 是否冻结,1:冻结，0:未冻结
     */
    private Integer isFreeze;
    private String purchaseGroupCode;
    /**
     * 物料认证数量
     */
    private Integer demoCount;

    private LocalDateTime effectiveTime;

    /**
     * 生产性和非生产性
     */
    private String purchaseType;
    /**
     * 评审方式，3是特批
     */
    private String assessType;

    private Integer supplierFreeze;
    private String freezeRemark;
    //申请人工号
    private String recommender;
    //申请人所属采购组编码
    private String recommenderCode;
    private String supplierNameEn;
    private String shortName;
    private String productBrand;
    private String tSupplierMainCustomerProduct;
    private String attr;
    private String inviteDesc;
    private String supplierGroup;
    private String specialRemark;
    private Integer signatureFlag;
    private String procurementStrategy;
    private String paymentMethod;
    /**
     * 订单打印是否月度回签
     */
    private Integer monthFlag;
    private Integer reportFlag;
    private Integer sqeState;
    private Integer registerType;
    private String approvalOpinion;
    private Integer eliminateFlag;
}
