Job.cs 838 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using Volo.Abp;
  3. using Volo.Abp.Domain.Entities.Auditing;
  4. using Volo.Abp.MultiTenancy;
  5. namespace BaseService.BaseData
  6. {
  7. /// <summary>
  8. /// 岗位
  9. /// </summary>
  10. public class Job : AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
  11. {
  12. public Guid? TenantId { get; set; }
  13. public string Name { get; set; }
  14. public bool Enabled { get; set; }
  15. public int Sort { get; set; }
  16. public string Description { get; set; }
  17. public bool IsDeleted { get; set; }
  18. public Job(Guid id, Guid? tenantId, string name, bool enabled, int sort, string description)
  19. {
  20. TenantId = tenantId;
  21. Id = id;
  22. Name = name;
  23. Enabled = enabled;
  24. Sort = sort;
  25. Description = description;
  26. }
  27. }
  28. }