DailypaymentView.cs 1023 B

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