namespace Admin.NET.Plugin.AiDOP.WorkOrder;
///
/// 工单附属表(mes_moentry)
///
[SugarTable("mes_moentry", "生成工单子表", IsDisabledUpdateAll = true)]
public class MesMoentry
{
/// 主键
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
public long Id { get; set; }
[SugarColumn(ColumnName = "moentry_moid", IsNullable = true)]
public long? MoentryMoid { get; set; }
[SugarColumn(ColumnName = "moentry_mono", Length = 128, IsNullable = true)]
public string? MoentryMono { get; set; }
[SugarColumn(ColumnName = "soentry_id", IsNullable = true)]
public long? SoentryId { get; set; }
[SugarColumn(ColumnName = "fentry_id", IsNullable = true)]
public long? FentryId { get; set; }
[SugarColumn(ColumnName = "fbill_no", Length = 128, IsNullable = true)]
public string? FbillNo { get; set; }
[SugarColumn(ColumnName = "unit", Length = 32, IsNullable = true)]
public string? Unit { get; set; }
[SugarColumn(ColumnName = "morder_production_number", IsNullable = true)]
public decimal? MorderProductionNumber { get; set; }
[SugarColumn(ColumnName = "need_number", IsNullable = true)]
public decimal? NeedNumber { get; set; }
[SugarColumn(ColumnName = "remaining_number", IsNullable = true)]
public decimal? RemainingNumber { get; set; }
[SugarColumn(ColumnName = "create_by", IsNullable = true)]
public long? CreateBy { get; set; }
[SugarColumn(ColumnName = "create_by_name", Length = 128, IsNullable = true)]
public string? CreateByName { get; set; }
[SugarColumn(ColumnName = "create_time", IsNullable = true)]
public DateTime? CreateTime { get; set; }
[SugarColumn(ColumnName = "update_by", IsNullable = true)]
public long? UpdateBy { get; set; }
[SugarColumn(ColumnName = "update_by_name", Length = 128, IsNullable = true)]
public string? UpdateByName { get; set; }
[SugarColumn(ColumnName = "update_time", IsNullable = true)]
public DateTime? UpdateTime { get; set; }
[SugarColumn(ColumnName = "IsDeleted", IsNullable = true)]
public int? IsDeleted { get; set; }
[SugarColumn(ColumnName = "factory_id", Length = 64, IsNullable = true)]
public string? FactoryId { get; set; }
[SugarColumn(ColumnName = "org_id", IsNullable = true)]
public long? OrgId { get; set; }
[SugarColumn(ColumnName = "company_id", IsNullable = true)]
public long? CompanyId { get; set; }
/// 租户ID(多租户隔离)
[SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
public long? TenantId { get; set; }
}