| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- using Microsoft.EntityFrameworkCore;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Business.Domain
- {
- /// <summary>
- /// 采购订单主表
- /// </summary>
- [Comment("采购订单主表")]
- public class PurOrdMaster
- {
- /// <summary>
- /// 主键
- /// </summary>
- [Comment("主键")]
- [Key]
- public int RecID { get; set; }
- /// <summary>
- /// 域名
- /// </summary>
- [Comment("域名")]
- public string Domain { get; set; }
- /// <summary>
- /// 类型
- /// </summary>
- [Comment("类型")]
- public string Potype { get; set; }
- /// <summary>
- /// PO单号
- /// </summary>
- [Comment("PO单号")]
- public string PurOrd { get; set; }
- /// <summary>
- /// 采购员工号
- /// </summary>
- [Comment("采购员工号")]
- public string Buyer { get; set; }
- /// <summary>
- /// 日期
- /// </summary>
- [Comment("日期")]
- public DateTime? OrdDate { get; set; }
- /// <summary>
- /// 币别
- /// </summary>
- [Required]
- [Comment("币别")]
- public string Curr { get; set; }
- /// <summary>
- /// 供应商编号
- /// </summary>
- [StringLength(80)]
- [Comment("供应商编号")]
- public string Supp { get; set; }
- /// <summary>
- /// 税率
- /// </summary>
- [Precision(23, 10)]
- [Comment("税率")]
- public decimal Tax1 { get; set; }
- /// <summary>
- /// 部门
- /// </summary>
- [Comment("部门")]
- public string Department { get; set; }
- /// <summary>
- /// 供应商联系人电话
- /// </summary>
- [StringLength(80)]
- [Comment("供应商联系人电话")]
- public string CustPhone { get; set; }
- /// <summary>
- /// 供应地址
- /// </summary>
- [StringLength(200)]
- [Comment("供应地址")]
- public string CustAddress { get; set; }
- /// <summary>
- /// 是否有效:1-有效;0-无效
- /// </summary>
- [Comment("是否有效")]
- public bool IsActive { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [Comment("创建时间")]
- public DateTime? CreateTime { get; set; }
- /// <summary>
- /// 创建人
- /// </summary>
- [Comment("创建人")]
- public string CreateUser { get; set; }
- /// <summary>
- /// 创建时间
- /// </summary>
- [Comment("修改时间")]
- public DateTime? UpdateTime { get; set; }
- /// <summary>
- /// 修改人
- /// </summary>
- [Comment("修改人")]
- public string UpdateUser { get; set; }
- /// <summary>
- /// 类型 DO:要货令
- /// </summary>
- [Comment("类型")]
- public string ReqBy { get; set; }
- /// <summary>
- /// 供应类别
- /// </summary>
- [Comment("供应类别")]
- public string USAGE { get; set; }
- /// <summary>
- /// 仓类型
- /// </summary>
- [Comment("仓类型")]
- public string FSTID { get; set; }
- /// <summary>
- /// 状态 "",新增;A,审核中;B,同意;C,关闭
- /// </summary>
- [Comment("状态")]
- public string Status { get; set; }
- /// <summary>
- /// 类型
- /// </summary>
- [Comment("类型")]
- public string Typed { get; set; }
- /// <summary>
- /// 工单号
- /// </summary>
- [Comment("工单号")]
- public string WorkOrd { get; set; }
- /// <summary>
- /// ERP工单号
- /// </summary>
- [Comment("ERP工单号")]
- public string ERPWorkOrd { get; set; }
- }
- }
|