using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace MES.Service.Modes { /// /// 采购退货申请主表 /// [SugarTable("CGTH_SQ")] public class CgthSq { /// /// 单据编码 /// [SugarColumn(ColumnName="BILL_NO" )] public string BillNo { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName="CREATE_DATE" )] public DateTime? CreateDate { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName="CREATE_BY" )] public string CreateBy { get; set; } /// /// 审核时间 /// [SugarColumn(ColumnName="CHECK_DATE" )] public DateTime? CheckDate { get; set; } /// /// 审核人 /// [SugarColumn(ColumnName="CHECK_USER" )] public string CheckUser { get; set; } /// /// 审核状态 /// [SugarColumn(ColumnName="STATUS" )] public decimal? Status { get; set; } /// /// 仓库编码 /// [SugarColumn(ColumnName="DEPOT_CODE" )] public string DepotCode { get; set; } /// /// 是否委外 /// [SugarColumn(ColumnName="F_TYPE" )] public decimal? FType { get; set; } /// /// 供应商编码 /// [SugarColumn(ColumnName="SUPP_NO" )] public string SuppNo { get; set; } /// /// 组织id /// [SugarColumn(ColumnName="ORG_ID" )] public decimal? OrgId { get; set; } /// /// 退货方式 /// [SugarColumn(ColumnName="TH_FS" )] public string ThFs { get; set; } /// /// 退货原因 /// [SugarColumn(ColumnName="TH_YY" )] public string ThYy { get; set; } /// /// 备注 /// [SugarColumn(ColumnName="BZ" )] public string Bz { get; set; } /// /// /// [SugarColumn(ColumnName="ID", IsPrimaryKey = true, OracleSequenceName = "SEQ_CGTH_SQ")] public decimal? Id { get; set; } /// /// 是否完成 /// [SugarColumn(ColumnName="IS_WC" )] public decimal? IsWc { get; set; } /// /// 供应商ID /// [SugarColumn(ColumnName="SUPP_ID" )] public string SuppId { get; set; } /// /// 单据类型 /// [SugarColumn(ColumnName="DJ_LX" )] public string DjLx { get; set; } /// /// 业务类型 /// [SugarColumn(ColumnName="YW_FS" )] public string YwFs { get; set; } /// /// ERP创建人 /// [SugarColumn(ColumnName="ERP_CREATE_BY" )] public string ErpCreateBy { get; set; } /// /// 采购组织 /// [SugarColumn(ColumnName="CG_ORG" )] public string CgOrg { get; set; } /// /// 退料组织 /// [SugarColumn(ColumnName="TL_ORG" )] public string TlOrg { get; set; } /// /// 需求组织 /// [SugarColumn(ColumnName="XQ_ORG" )] public string XqOrg { get; set; } /// /// 采购部门 /// [SugarColumn(ColumnName="CG_BM" )] public string CgBm { get; set; } /// /// 退料部门 /// [SugarColumn(ColumnName="TL_BM" )] public string TlBm { get; set; } /// /// 仓管员名称 /// [SugarColumn(ColumnName="CGY_MC" )] public string CgyMc { get; set; } /// /// 采购员名称 /// [SugarColumn(ColumnName="CG_MC" )] public string CgMc { get; set; } /// /// 库存组名称 /// [SugarColumn(ColumnName="KC_DEPOT" )] public string KcDepot { get; set; } /// /// 采购组名称 /// [SugarColumn(ColumnName="CG_DEPOT" )] public string CgDepot { get; set; } /// /// 验收方式 /// [SugarColumn(ColumnName="YS_FS" )] public string YsFs { get; set; } /// /// ERPID /// [SugarColumn(ColumnName = "ERPID")] public string Erpid { get; set; } /// /// ERP源单ID /// [SugarColumn(ColumnName = "YDID")] public string Ydid { get; set; } } }