sys_post_staff.cs 780 B

123456789101112131415161718192021222324252627282930313233
  1. using Business.Model;
  2. using Microsoft.EntityFrameworkCore;
  3. using System.ComponentModel;
  4. using System.ComponentModel.DataAnnotations;
  5. namespace Bussiness.Model.SystemData
  6. {
  7. /// <summary>
  8. /// 员工岗位关联表
  9. /// </summary>
  10. [Comment("员工岗位关联表")]
  11. public class sys_post_staff: BaseEntity
  12. {
  13. ///// <summary>
  14. ///// 主键id
  15. ///// </summary>
  16. //[Key]
  17. //[Comment("主键id")]
  18. //public long id { get; set; }
  19. /// <summary>
  20. /// 员工id
  21. /// </summary>
  22. [Comment("员工id")]
  23. public long? staff_id { get; set; }
  24. /// <summary>
  25. /// 岗位id
  26. /// </summary>
  27. [Comment("岗位id")]
  28. public long? post_id { get; set; }
  29. }
  30. }