using Admin.NET.Core;
using System.ComponentModel.DataAnnotations;
namespace Admin.NET.Application;
///
/// 申请示例基础输入参数
///
public class Dm_ApplyDemoBaseInput
{
///
/// 机构类型 详见字典类型 org_type
///
public virtual long? OrgType { get; set; }
///
/// 申请号
///
public virtual string ApplyNO { get; set; }
///
/// 申请时间
///
public virtual DateTime ApplicatDate { get; set; }
///
/// 申请金额
///
public virtual decimal Amount { get; set; }
///
/// 是否通知
///
public virtual bool IsNotice { get; set; }
///
/// 备注
///
public virtual string Remark { get; set; }
///
/// CreateTime
///
public virtual DateTime? CreateTime { get; set; }
///
/// UpdateTime
///
public virtual DateTime? UpdateTime { get; set; }
///
/// CreateUserId
///
public virtual long? CreateUserId { get; set; }
///
/// CreateUserName
///
public virtual string? CreateUserName { get; set; }
///
/// UpdateUserId
///
public virtual long? UpdateUserId { get; set; }
///
/// UpdateUserName
///
public virtual string? UpdateUserName { get; set; }
///
/// IsDelete
///
public virtual bool IsDelete { get; set; }
}
///
/// 申请示例分页查询输入参数
///
public class Dm_ApplyDemoInput : BasePageInput
{
///
/// 关键字查询
///
public string? SearchKey { get; set; }
///
/// 机构类型 详见字典类型 org_type
///
public long? OrgType { get; set; }
///
/// 申请号
///
public string ApplyNO { get; set; }
///
/// 申请时间
///
public DateTime ApplicatDate { get; set; }
///
/// 申请金额
///
public decimal Amount { get; set; }
///
/// 是否通知
///
public bool IsNotice { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 申请时间范围
///
public List ApplicatDateRange { get; set; }
}
///
/// 申请示例增加输入参数
///
public class AddDm_ApplyDemoInput : Dm_ApplyDemoBaseInput
{
///
/// ApplyNO
///
[Required(ErrorMessage = "ApplyNO不能为空")]
public override string ApplyNO { get; set; }
///
/// ApplicatDate
///
[Required(ErrorMessage = "ApplicatDate不能为空")]
public override DateTime ApplicatDate { get; set; }
///
/// Amount
///
[Required(ErrorMessage = "Amount不能为空")]
public override decimal Amount { get; set; }
///
/// IsNotice
///
[Required(ErrorMessage = "IsNotice不能为空")]
public override bool IsNotice { get; set; }
///
/// Remark
///
[Required(ErrorMessage = "Remark不能为空")]
public override string Remark { get; set; }
///
/// IsDelete
///
[Required(ErrorMessage = "IsDelete不能为空")]
public override bool IsDelete { get; set; }
}
///
/// 申请示例删除输入参数
///
public class DeleteDm_ApplyDemoInput : BaseIdInput
{
}
///
/// 申请示例更新输入参数
///
public class UpdateDm_ApplyDemoInput : Dm_ApplyDemoBaseInput
{
///
/// Id
///
[Required(ErrorMessage = "Id不能为空")]
public long Id { get; set; }
}
///
/// 申请示例主键查询输入参数
///
public class QueryByIdDm_ApplyDemoInput : DeleteDm_ApplyDemoInput
{
}