sys_config.cs 1.3 KB

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