using SqlSugar;
namespace MES.Service.Modes;
///
///
[SugarTable("MES_CUSTOMER")]
public class MesCustomer
{
///
/// 默认值: (newid())
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid Guid { get; set; }
///
/// ID
///
[SugarColumn(ColumnName = "id")]
public decimal Id { get; set; }
///
/// 客户编码
///
[SugarColumn(ColumnName = "cust_no")]
public string? CustNo { get; set; }
///
/// 地区
///
[SugarColumn(ColumnName = "land")]
public string? Land { get; set; }
///
/// 客户名称
///
[SugarColumn(ColumnName = "cust_name")]
public string? CustName { get; set; }
///
/// 客户简称
///
[SugarColumn(ColumnName = "cust_sname")]
public string? CustSname { get; set; }
///
/// 地址
///
[SugarColumn(ColumnName = "stras")]
public string? Stras { get; set; }
///
/// 电话
///
[SugarColumn(ColumnName = "telf1")]
public string? Telf1 { get; set; }
///
/// 传真
///
[SugarColumn(ColumnName = "telfx")]
public string? Telfx { get; set; }
///
/// 联系人
///
[SugarColumn(ColumnName = "anred")]
public string? Anred { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_date")]
public DateTime? CreateDate { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "create_by")]
public string? CreateBy { get; set; }
///
/// 最后修改时间
///
[SugarColumn(ColumnName = "lastupdate_date")]
public DateTime? LastupdateDate { get; set; }
///
/// 最后修改人
///
[SugarColumn(ColumnName = "lastupdate_by")]
public string? LastupdateBy { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "remark")]
public string? Remark { get; set; }
///
/// 公司
///
[SugarColumn(ColumnName = "company")]
public string? Company { get; set; }
///
/// 分厂编码
///
[SugarColumn(ColumnName = "factory")]
public string? Factory { get; set; }
///
/// 物料是否共管(是,否)
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "item_c")]
public int? ItemC { get; set; }
///
/// 物料是否回写SAP接口(是,否)
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "item_sap")]
public int? ItemSap { get; set; }
///
/// 是否批次管理(是,否)
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "lot_flag")]
public int? LotFlag { get; set; }
///
/// WMS是否发送数据:1已发送,其他均未发送
/// 默认值: ((0))
///
[SugarColumn(ColumnName = "iscommit")]
public int? Iscommit { get; set; }
///
/// 禁用状态
///
[SugarColumn(ColumnName = "fforbidstatus")]
public string? Fforbidstatus { get; set; }
///
/// 销售员
///
[SugarColumn(ColumnName = "fseller")]
public string? Fseller { get; set; }
///
/// 自定义字段3
///
[SugarColumn(ColumnName = "remark3")]
public string? Remark3 { get; set; }
///
/// 自定义字段4
///
[SugarColumn(ColumnName = "remark4")]
public string? Remark4 { get; set; }
///
/// 自定义字段5
///
[SugarColumn(ColumnName = "remark5")]
public string? Remark5 { get; set; }
///
/// 创建组织
///
[SugarColumn(ColumnName = "Fumbrella")]
public string? Fumbrella { get; set; }
///
/// 使用组织
///
[SugarColumn(ColumnName = "FSubsidiary")]
public string? FSubsidiary { get; set; }
///
/// 单据状态
///
[SugarColumn(ColumnName = "DATA_TYPE")]
public string? DataType { get; set; }
[SugarColumn(IsIgnore = true)] public string? Type { get; set; }
}