DailypaymentView.cs 945 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.ViewModels.Statistics
  7. {
  8. public class DailypaymentView
  9. {
  10. }
  11. [SqlSugar.SugarTable("Sys_SetDataType")]
  12. public class DailypaymentParentTypeView
  13. {
  14. [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
  15. public int Id { get; set; }
  16. public string Name { get; set; }
  17. [Navigate(NavigateType.OneToMany, nameof(DailypaymentSubTypeView.STid))]
  18. public List<DailypaymentSubTypeView> SubData { get; set; }
  19. }
  20. [SqlSugar.SugarTable("Sys_SetData")]
  21. public class DailypaymentSubTypeView
  22. {
  23. [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
  24. public int Id { get; set; }
  25. public int STid { get; set; }
  26. public string Name { get; set; }
  27. public bool IsChecked { get; set; } = false;
  28. }
  29. }