namespace iWareSql.MyDbContext { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class v_collect_head { [Key] [Column(Order = 0)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public long 领用单号 { get; set; } [Key] [Column(Order = 1)] public DateTime 申请时间 { get; set; } [Key] [Column(Order = 2)] [StringLength(6)] public string 领用部门 { get; set; } [StringLength(20)] public string 领用人员 { get; set; } [Key] [Column(Order = 3)] [StringLength(12)] public string 领用原因 { get; set; } [Key] [Column(Order = 4)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public int 总金额 { get; set; } } }