using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities.Auditing;
using ShwasherSys.Authorization.Users;
namespace ShwasherSys.CompanyInfo
{
///
/// 证照信息维护
///
[Table("LicenseDocumentInfo")]
public class LicenseDocument:FullAuditedEntity
{
public const int NoMaxLength = 50;
public const int NameMaxLength = 50;
public const int DescMaxLength = 500;
public const int TypeMaxLength = CompanyInfo.LicenseType.NameMaxLength;
public const int PathMaxLength = 300;
///
/// 证照编码
///
[MaxLength(NoMaxLength)]
public string No { get; set; }
///
/// 证照名称
///
[MaxLength(NameMaxLength)]
public string Name { get; set; }
///
/// 证照描述
///
[MaxLength(DescMaxLength)]
public string Description { get; set; }
///
/// 证照组
///
[MaxLength(TypeMaxLength)]
public string LicenseGroup { get; set; }
///
/// 证照类型
///
[MaxLength(TypeMaxLength)]
public string LicenseType { get; set; }
///
/// 附件路径
///
[MaxLength(PathMaxLength)]
public string FilePath { get; set; }
///
/// 过期时间
///
public DateTime ExpireDate { get; set; }
public const int RemarkMaxLength = 500;
[MaxLength(RemarkMaxLength)]
public string Remark { get; set; }
}
}