mo_sys_post_staff.cs 881 B

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