using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using CK.SCP.Models.Base; using CK.SCP.Models.Enums; namespace CK.SCP.Models.ExchangeCenterTables { /// /// OA固定资产明细表 /// [Description("固定资产明细表")] public class TED_FIXED_DET : TED_BASE,ITaskTable { [Description("固定资产编号")] [StringLength(50)] public string FixedBillNum { get; set; } [Description("资产")] [StringLength(50)] public string Asset { get; set; } [Description("等级")] [StringLength(50)] public string Class { get; set; } [Description("库位")] [StringLength(50)] public string Location { get; set; } [Description("会计单位")] [StringLength(50)] public string Entity { get; set; } [Description("成本")] public decimal Cost { get; set; } [Description("残值")] public decimal Salvage { get; set; } [Description("重置值")] public decimal Replacement { get; set; } [Description("过账日期")] public DateTime PostDate { get; set; } [Description("使用日期")] public DateTime ServiceDate { get; set; } [Description("授权号")] [StringLength(50)] public string AuthorizationNbr { get; set; } [Description("账目")] [StringLength(50)] public string BOOK { get; set; } [Description("方法")] [StringLength(50)] public string Method { get; set; } [Description("寿命")] public int Life { get; set; } [Key] public Guid GUID { get; set; } = Guid.NewGuid(); [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int UID { get; set; } [Description("创建人")] [StringLength(50)] public string CreateUser { get; set; } [Description("创建时间")] public DateTime CreateTime { get; set; } [Description("备注")] public string Remark { get; set; } [Description("任务编号")] public Guid TaskID { get; set; } [Description("命令类型")] [StringLength(50)] public string CommandType { get; set; } public Guid DataID { get; set; } [Description("域")] [StringLength(50)] public string Domain { get; set; } [Description("地点")] [StringLength(50)] public string Site { get; set; } } }