using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities.Auditing; using ShwasherSys.Authorization.Users; namespace ShwasherSys.CompanyInfo { /// /// 设备固定资产维护 /// [Table("FixedAssetInfo")] public class FixedAsset:FullAuditedEntity { public const int NoMaxLength = 50; public const int NameMaxLength = 50; public const int ModelMaxLength = 50; public const int DescMaxLength = 500; /// /// 资产编号 /// [MaxLength(NoMaxLength)] public string No { get; set; } /// /// 资产名称 /// [MaxLength(NameMaxLength)] public string Name { get; set; } /// /// 资产类型 /// [MaxLength(ModelMaxLength)] public string Model { get; set; } /// /// 资产描述 /// [MaxLength(DescMaxLength)] public string Description { get; set; } public const int RemarkMaxLength = 500; [MaxLength(RemarkMaxLength)] public string Remark { get; set; } } }