sozsoft-platform/api/src/Sozsoft.Platform.Domain/Branch/BranchSeederDto.cs

140 lines
4.1 KiB
C#
Raw Normal View History

2026-02-24 20:44:16 +00:00
using System;
using System.Collections.Generic;
using Sozsoft.Platform.Entities;
namespace Sozsoft.Platform.Branchs;
public class BranchSeederDto
{
public List<RegistrationTypeSeedDto> RegistrationTypes { get; set; }
public List<RegistrationMethodSeedDto> RegistrationMethods { get; set; }
public List<ClassTypeSeedDto> ClassTypes { get; set; }
public List<ClassSeedDto> Classes { get; set; }
public List<LevelSeedDto> Levels { get; set; }
public List<LessonPeriodSeedDto> LessonPeriods { get; set; }
public List<ScheduleSeedDto> Schedules { get; set; }
public List<MealSeedDto> Meals { get; set; }
public List<BankSeedDto> Banks { get; set; }
public List<CashSeedDto> Cashes { get; set; }
public List<CurrentAccountSeedDto> CurrentAccounts { get; set; }
}
public class CurrentAccountSeedDto
{
public string Code { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public long? TaxNumber { get; set; }
public string TaxOffice { get; set; }
public decimal CreditLimit { get; set; }
public decimal Balance { get; set; }
public string Currency { get; set; }
public string Risk { get; set; } //Low, Medium, High, Blocked
public bool IsActive { get; set; }
}
public class CashSeedDto
{
public string Code { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Currency { get; set; }
public decimal Balance { get; set; }
public bool IsActive { get; set; }
}
public class BankSeedDto
{
public string Code { get; set; }
public string Name { get; set; }
public string Address1 { get; set; }
public string Address2 { get; set; }
public string Country { get; set; }
public string City { get; set; }
public string District { get; set; }
public string PostalCode { get; set; }
public string PhoneNumber { get; set; }
public string Email { get; set; }
}
public class MealSeedDto
{
public DateTime Date { get; set; }
public string Type { get; set; }
public decimal TotalCalorie { get; set; }
public string Materials { get; set; }
}
public class RegistrationTypeSeedDto
{
public string Name { get; set; }
public string Status { get; set; }
}
public class RegistrationMethodSeedDto
{
public string RegistrationTypeName { get; set; }
public string Name { get; set; }
public string Status { get; set; }
}
public class ClassTypeSeedDto
{
public string RegistrationTypeName { get; set; }
public string Name { get; set; }
public int? MinStudentCount { get; set; }
public int? MaxStudentCount { get; set; }
public string Status { get; set; }
}
public class ClassSeedDto
{
public string ClassTypeName { get; set; }
public string Name { get; set; }
public string Status { get; set; }
}
public class LevelSeedDto
{
public string ClassTypeName { get; set; }
public string LevelType { get; set; }
public string Name { get; set; }
public int Order { get; set; }
public int LessonCount { get; set; }
public string Status { get; set; }
public int? LessonDuration { get; set; }
public decimal? MonthlyPaymentRate { get; set; }
}
public class LessonPeriodSeedDto
{
public string Name { get; set; }
public string Day { get; set; }
public string Lesson1 { get; set; }
public string Lesson2 { get; set; }
public string Lesson3 { get; set; }
public string Lesson4 { get; set; }
}
public class ScheduleSeedDto
{
public string Name { get; set; }
public string Status { get; set; }
public string StartTime { get; set; }
public string EndTime { get; set; }
public int LessonMinute { get; set; }
public int LessonBreakMinute { get; set; }
public int LessonCount { get; set; }
public string LunchTime { get; set; }
public int? LunchMinute { get; set; }
public bool? IncludeLunch { get; set; }
public bool? Monday { get; set; }
public bool? Tuesday { get; set; }
public bool? Wednesday { get; set; }
public bool? Thursday { get; set; }
public bool? Friday { get; set; }
public bool? Saturday { get; set; }
public bool? Sunday { get; set; }
}