TPRecord.cs 578 B

123456789101112131415161718192021222324252627
  1. using SqlSugar;
  2. namespace EasyTemplate.Tool.Entity;
  3. /// <summary>
  4. /// 商品
  5. /// </summary>
  6. [SugarTable(null, "商品")]
  7. [SugarIndex("CreateTime", nameof(CreateTime), OrderByType.Desc)]
  8. public partial class TPRecord: EntityBase
  9. {
  10. /// <summary>
  11. /// 商品名称
  12. /// </summary>
  13. [SugarColumn(ColumnDescription = "商品名称", IsNullable = true)]
  14. public string Name { get; set; }
  15. /// <summary>
  16. /// 总库存
  17. /// </summary>
  18. [SugarColumn(ColumnDescription = "商品编码", IsNullable = true)]
  19. public string Code { get; set; }
  20. }