namespace wcftest.orm { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class Finance_AccountVoucher { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Finance_AccountVoucher() { Finance_AccountVoucherList = new HashSet(); } [Key] public int AccountVoucher_Id { get; set; } [Required] [StringLength(50)] public string AccountVoucherCode { get; set; } public int User_Id { get; set; } [Required] [StringLength(50)] public string UserTrueName { get; set; } public int? Dept_Id { get; set; } [StringLength(50)] public string DeptName { get; set; } [Column(TypeName = "money")] public decimal TotalAmountMoney { get; set; } public byte StatusID { get; set; } [Required] [StringLength(50)] public string StatusText { get; set; } [StringLength(50)] public string Auditor { get; set; } public byte? Auditing { get; set; } public DateTime? AuditDate { get; set; } public string Remark { get; set; } public int CreateID { get; set; } [Required] [StringLength(50)] public string Creator { get; set; } public DateTime? CreateDate { get; set; } public int? ModifyID { get; set; } [StringLength(50)] public string Modifier { get; set; } public DateTime? ModifyDate { get; set; } public byte? Enable { get; set; } [Column(TypeName = "date")] public DateTime? Date { get; set; } public string ExpandFields { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Finance_AccountVoucherList { get; set; } } }