using SqlSugar;
namespace MES.Service.Modes;
///
/// 供应商信息
///
[SugarTable("MES_SUPPLIER")]
public class MesSupplier
{
///
/// 默认值: (newid())
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid Guid { get; set; }
///
/// ID
///
[SugarColumn(ColumnName = "id")]
public decimal Id { get; set; }
///
/// 供应商编码
///
[SugarColumn(ColumnName = "supp_no")]
public string? SuppNo { get; set; }
///
/// 供应商名称
///
[SugarColumn(ColumnName = "supp_name")]
public string? SuppName { get; set; }
///
/// 供应商简称
///
[SugarColumn(ColumnName = "supp_sname")]
public string? SuppSname { get; set; }
///
/// 地区
///
[SugarColumn(ColumnName = "land1")]
public string? Land1 { 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 = "create_by")]
public string? CreateBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_date")]
public DateTime? CreateDate { get; set; }
///
/// 最近更新人
///
[SugarColumn(ColumnName = "lastupdate_by")]
public string? LastupdateBy { get; set; }
///
/// 最近更新时间
///
[SugarColumn(ColumnName = "lastupdate_date")]
public DateTime? LastupdateDate { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "remark")]
public string? Remark { get; set; }
///
/// 简码(打印条码用)
///
[SugarColumn(ColumnName = "fscode")]
public string? Fscode { 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; }
///
/// 联系人
///
[SugarColumn(ColumnName = "lxr")]
public string? Lxr { get; set; }
///
/// 负责人
///
[SugarColumn(ColumnName = "fstaffid")]
public string? Fstaffid { get; set; }
///
/// 禁用状态
///
[SugarColumn(ColumnName = "fforbidstatus")]
public string? Fforbidstatus { 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 = "FSubsidiary")]
public string? FSubsidiary { get; set; }
///
/// 创建组织
///
[SugarColumn(ColumnName = "Fumbrella")]
public string? Fumbrella { get; set; }
[SugarColumn(IsIgnore = true)] public string? Type { get; set; }
}