IcSubstitute.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  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
  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_strategy", ColumnDescription = "替代策略", IsNullable = true, Length = 100)]
  14. public string? SubstituteStrategy { get; set; }
  15. [SugarColumn(ColumnName = "substitute_mode", ColumnDescription = "替代方式", IsNullable = true, Length = 100)]
  16. public string? SubstituteMode { get; set; }
  17. [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间", IsNullable = true)]
  18. public DateTime? CreateTime { get; set; }
  19. [SugarColumn(ColumnName = "company_id", ColumnDescription = "公司ID", IsNullable = true, ColumnDataType = "bigint")]
  20. public long? CompanyId { get; set; }
  21. [SugarColumn(ColumnName = "factory_id", ColumnDescription = "工厂ID", IsNullable = true, ColumnDataType = "bigint")]
  22. public long? FactoryId { get; set; }
  23. [SugarColumn(ColumnName = "IsDeleted", ColumnDescription = "逻辑删除标记", IsNullable = true, ColumnDataType = "int")]
  24. public int? IsDeleted { get; set; }
  25. }