sys_code_pre.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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_code_pre:Entity<long>
  13. {
  14. ///// <summary>
  15. ///// 主键id
  16. ///// </summary>
  17. //[Key]
  18. //[Comment("主键id")]
  19. //public long id { get; set; }
  20. /// <summary>
  21. /// 编码生成名称
  22. /// </summary>
  23. [StringLength(50)]
  24. [Required]
  25. [Comment("编码生成名称")]
  26. public string? code_name { get; set; }
  27. /// <summary>
  28. /// 编码生成前置名称
  29. /// </summary>
  30. [Required]
  31. [StringLength(50)]
  32. [Comment("编码生成前置名称")]
  33. public string? pre_name { get; set; }
  34. /// <summary>
  35. /// 编码生成时间
  36. /// </summary>
  37. [Required]
  38. [Comment("编码生成时间")]
  39. public DateTime code_date { get; set; }
  40. /// <summary>
  41. /// 编码生成当前值
  42. /// </summary>
  43. [Required]
  44. [Comment("编码生成当前值")]
  45. public long? code_value { get; set; }
  46. }
  47. }