SiteEntity.cs 660 B

1234567891011121314151617181920212223
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace AI.Platform.Core.Entity.Site
  6. {
  7. [SugarTable(null,"站点表")]
  8. public class SiteEntity: EntityBaseLite
  9. {
  10. [SugarColumn(ColumnDescription ="父站id")]
  11. public long ParentId { get; set; }
  12. [SugarColumn(ColumnDescription = "站名",IsNullable = false)]
  13. public string Name { get; set; }
  14. [SugarColumn(ColumnDescription = "油站地址")]
  15. public string Address { get; set; }
  16. [SugarColumn(ColumnDescription = "联系方式")]
  17. public string Contact { get; set; }
  18. }
  19. }