using YBEE.EQM.Core;
namespace YBEE.EQM.Application;
///
/// 机构简要输入参数
///
public class SysOrgLiteOutput
{
///
/// 主键
///
[Required]
public short Id { get; set; }
///
/// 父机构ID
///
[Required]
public short Pid { get; set; }
///
/// 机构类型
///
[Required]
public OrgType OrgType { get; set; }
///
/// 办学性质
///
[Required]
public OrgFundSource OrgFundSource { get; set; }
///
/// 学段
///
[Required]
public EducationStage EducationStage { get; set; }
///
/// 城乡类型
///
[Required]
public UrbanRuralType UrbanRuralType { get; set; }
///
/// 所属学区ID(机构ID)
///
public short? SchoolDistrictId { get; set; }
///
/// 名称
///
[Required]
public string FullName { get; set; }
///
/// 名称
///
[Required]
public string Name { get; set; }
///
/// 简称
///
[Required]
public string ShortName { get; set; }
///
/// 简称2
///
[StringLength(50)]
public string ShortName2 { get; set; }
///
/// 编码
///
[Required]
public string Code { get; set; }
///
/// 带前缀唯一代码
///
[Required]
public string UniqueCode { get; set; }
///
/// 排序
///
[Required]
public int Sort { get; set; }
///
/// 状态
///
[Required]
public CommonStatus Status { get; set; }
}
///
/// 机构完整输出参数
///
public class SysOrgOutput : SysOrgLiteOutput
{
///
/// 父机构ID路径
///
[Required]
public string Pids { get; set; }
///
/// TQES学校ID(兼容老系统)
///
public int? TqesId { get; set; }
///
/// TQES学校编码(兼容老系统)
///
public string TqesCode { get; set; }
///
/// 经度
///
public decimal Longitude { get; set; }
///
/// 纬度
///
public decimal Latitude { get; set; }
///
/// 地址
///
public string Address { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 创建时间
///
[Required]
public DateTime CreateTime { get; set; }
///
/// 更新时间
///
public DateTime? UpdateTime { get; set; }
///
/// 创建人ID
///
[Required]
public int CreateSysUserId { get; set; }
///
/// 修改者Id
///
public int? UpdateSysUserId { get; set; }
///
/// 创建人
///
public SysUserLiteOutput CreateSysUser { get; set; }
///
/// 更新人
///
public SysUserLiteOutput UpdateSysUser { get; set; }
///
/// 所属学区
///
public SysOrgLiteOutput SchoolDistrict { get; set; }
}