sys_config.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using Business.Model;
  2. using Microsoft.EntityFrameworkCore;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. using Volo.Abp.Domain.Entities;
  6. namespace Bussiness.Model.SystemData
  7. {
  8. /// <summary>
  9. /// 系统配置表
  10. /// </summary>
  11. [Comment("系统配置表")]
  12. public class sys_config:Entity<long>
  13. {
  14. ///// <summary>
  15. ///// 主键id
  16. ///// </summary>
  17. //[Key]
  18. //[Comment("主键id")]
  19. //public long config_id { get; set; }
  20. /// <summary>
  21. /// 配置类型
  22. /// </summary>
  23. [Comment("配置类型")]
  24. [StringLength(50)]
  25. public string? type { get; set; }
  26. /// <summary>
  27. /// 账务状态(0-关帐,1-开帐)
  28. [Comment("账务状态(0-关帐,1-开帐)")]
  29. [DefaultValue(true)]
  30. public bool financeis_close { get; set; }
  31. /// <summary>
  32. /// 下一个开帐日期
  33. /// </summary>
  34. [Comment("下一个开帐日期")]
  35. public DateTime? next_open_date { get; set; }
  36. /// <summary>
  37. /// 是否显示(0不显示、1显示)
  38. [Comment("是否显示(0不显示、1显示)")]
  39. [DefaultValue(true)]
  40. public bool is_show { get; set; }
  41. }
  42. }