sim_plant.cs 732 B

123456789101112131415161718192021222324252627282930
  1. using Business.Core.Attributes;
  2. using Business.Model;
  3. using Microsoft.EntityFrameworkCore;
  4. using System.ComponentModel;
  5. using System.ComponentModel.DataAnnotations;
  6. namespace Bussiness.Model.SIM
  7. {
  8. /// <summary>
  9. /// sim事项表
  10. /// </summary>
  11. [Comment("sim事项表")]
  12. [CollectionName("dopbase", "sim_plant")]
  13. public class sim_plant:BaseEntity
  14. {
  15. ///// <summary>
  16. ///// 主键id
  17. ///// </summary>
  18. //[Key]
  19. //[Comment("主键id")]
  20. //public long plant_id { get; set; }
  21. /// <summary>
  22. /// 事项名称
  23. /// </summary>
  24. [StringLength(255)]
  25. [Comment("事项名称")]
  26. public string? plant_name { get; set; }
  27. }
  28. }