IcSubstitute.cs 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Sales;
  2. /// <summary>
  3. /// 源平台 ic_substitute:替代方案(只读查询模型)。
  4. /// 注意:这是对既有业务表的映射,不代表新增业务实体表。
  5. /// </summary>
  6. [SugarTable("ic_substitute", "替代方案(源平台表映射)")]
  7. public class IcSubstitute : ITenantIdFilter
  8. {
  9. [SugarColumn(ColumnName = "id", ColumnDescription = "主键", IsPrimaryKey = true, ColumnDataType = "bigint")]
  10. public long Id { get; set; }
  11. [SugarColumn(ColumnName = "substitute_code", ColumnDescription = "替代方案编码", IsNullable = true, Length = 100)]
  12. public string? SubstituteCode { get; set; }
  13. [SugarColumn(ColumnName = "substitute_type", ColumnDescription = "替代类型", IsNullable = true)]
  14. public int? SubstituteType { get; set; }
  15. [SugarColumn(ColumnName = "substitute_strategy", ColumnDescription = "替代策略", IsNullable = true, Length = 100)]
  16. public string? SubstituteStrategy { get; set; }
  17. [SugarColumn(ColumnName = "substitute_mode", ColumnDescription = "替代方式", IsNullable = true, Length = 100)]
  18. public string? SubstituteMode { get; set; }
  19. [SugarColumn(ColumnName = "create_by", ColumnDescription = "创建人ID", IsNullable = true, ColumnDataType = "bigint")]
  20. public long? CreateBy { get; set; }
  21. [SugarColumn(ColumnName = "create_by_name", ColumnDescription = "创建人姓名", IsNullable = true, Length = 50)]
  22. public string? CreateByName { get; set; }
  23. [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间", IsNullable = true)]
  24. public DateTime? CreateTime { get; set; }
  25. [SugarColumn(ColumnName = "update_by", ColumnDescription = "更新人ID", IsNullable = true, ColumnDataType = "bigint")]
  26. public long? UpdateBy { get; set; }
  27. [SugarColumn(ColumnName = "update_by_name", ColumnDescription = "更新人姓名", IsNullable = true, Length = 50)]
  28. public string? UpdateByName { get; set; }
  29. [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)]
  30. public DateTime? UpdateTime { get; set; }
  31. [SugarColumn(ColumnName = "company_id", ColumnDescription = "公司ID", IsNullable = true, ColumnDataType = "bigint")]
  32. public long? CompanyId { get; set; }
  33. [SugarColumn(ColumnName = "factory_id", ColumnDescription = "工厂ID", IsNullable = true, ColumnDataType = "bigint")]
  34. public long? FactoryId { get; set; }
  35. [SugarColumn(ColumnName = "org_id", ColumnDescription = "组织ID", IsNullable = true, ColumnDataType = "bigint")]
  36. public long? OrgId { get; set; }
  37. [SugarColumn(ColumnName = "IsDeleted", ColumnDescription = "逻辑删除标记", IsNullable = true, ColumnDataType = "int")]
  38. public int? IsDeleted { get; set; }
  39. [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
  40. public long? TenantId { get; set; }
  41. }