using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OASystem.Domain.ViewModels.Statistics
{
    public class DailypaymentView
    {
    }

    [SqlSugar.SugarTable("Sys_SetDataType")]
    public class DailypaymentParentTypeView
    {

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public string Name { get; set; }

        [Navigate(NavigateType.OneToMany, nameof(DailypaymentSubTypeView.STid))]
        public List<DailypaymentSubTypeView> SubData { get; set; }

    }

    [SqlSugar.SugarTable("Sys_SetData")]
    public class DailypaymentSubTypeView
    {

        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public int STid { get; set; }
        public string Name { get; set; }

        public bool IsChecked { get; set; } = false;
    }

}