using System;
using System.ComponentModel.DataAnnotations;
using Util.Datas.Queries;
namespace Util.Samples.Service.Queries.Systems {
///
/// 应用程序查询实体
///
public class ApplicationQuery : QueryParameter {
///
/// 应用程序编号
///
[Display( Name = "应用程序" )]
public Guid? ApplicationId { get; set; }
private string _code = string.Empty;
///
/// 应用程序编码
///
[Display( Name = "应用程序编码" )]
public string Code {
get => _code == null ? string.Empty : _code.Trim();
set => _code = value;
}
private string _name = string.Empty;
///
/// 应用程序名称
///
[Display( Name = "应用程序名称" )]
public string Name {
get => _name == null ? string.Empty : _name.Trim();
set => _name = value;
}
private string _comment = string.Empty;
///
/// 备注
///
[Display( Name = "备注" )]
public string Comment {
get => _comment == null ? string.Empty : _comment.Trim();
set => _comment = value;
}
///
/// 启用
///
[Display( Name = "启用" )]
public bool? Enabled { get; set; }
///
/// 启用注册
///
[Display( Name = "启用注册" )]
public bool? RegisterEnabled { get; set; }
///
/// 起始创建时间
///
[Display( Name = "起始创建时间" )]
public DateTime? BeginCreationTime { get; set; }
///
/// 结束创建时间
///
[Display( Name = "结束创建时间" )]
public DateTime? EndCreationTime { get; set; }
///
/// 创建人编号
///
[Display( Name = "创建人编号" )]
public Guid? CreatorId { get; set; }
}
}