You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

425 lines
12 KiB

using CK.SCP.Models.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CK.SCP.Models.ScpEntity
{
public class V_TB_ASK_RECEIVE
{
public decimal AskQty { get; set; }
public Nullable<decimal> Qty { get; set; }
public string AskBillNum { get; set; }
public string PoBillNum { get; set; }
public int PoLine { get; set; }
public string PartCode { get; set; }
public Nullable<decimal> Number { get; set; }
public string PartDesc1 { get; set; }//
public bool IsDeleted { get; set; }
public Nullable<System.DateTime> BeginTime { get; set; }
public Nullable<System.DateTime> EndTime { get; set; }
[Key]
public long UID { get; set; }
public string Site { get; set; }
public string VendId { get; set; }
public Nullable<System.DateTime> RecvTime { get; set; }
public Nullable<decimal> ReviceQty { get; set; }
public int? State { get; set; }
public string ProjectId { get; set; }
[NotMapped]
public Nullable<System.DateTime> ShipTime { get; set; }
[NotMapped]
public string CreateUser { get; set; }
public string Buyer { get; set; }
[NotMapped]
public DateTime? RecvBeginTime { get; set; }
[NotMapped]
public DateTime? RecvEndTime { get; set; }
[NotMapped]
public string State_Desc { get; set; }
public string SubSite { get; set; }
}
public class TB_ASK_RECEIVE
{
public decimal AskQty { get; set; }
public Nullable<decimal> Qty { get; set; }
public string AskBillNum { get; set; }
public string PoBillNum { get; set; }
public int PoLine { get; set; }
public string PartCode { get; set; }
public Nullable<decimal> Number { get; set; }
public string PartDesc1 { get; set; }//
public bool IsDeleted { get; set; }
public Nullable<System.DateTime> BeginTime { get; set; }
public Nullable<System.DateTime> EndTime { get; set; }
[Key]
public long UID { get; set; }
public string Site { get; set; }
public string VendId { get; set; }
public Nullable<System.DateTime> RecvTime { get; set; }
public Nullable<decimal> ReviceQty { get; set; }
public int? State { get; set; }
public string ProjectId { get; set; }
[NotMapped]
public Nullable<System.DateTime> ShipTime { get; set; }
[NotMapped]
public string CreateUser { get; set; }
public string Buyer { get; set; }
[NotMapped]
public DateTime? RecvBeginTime { get; set; }
[NotMapped]
public DateTime? RecvEndTime { get; set; }
[NotMapped]
public string State_Desc { get; set; }
//public string SubSite { get; set; }
}
public class TB_UNCOMPLETE_TEMPASK
{
public decimal AskQty { get; set; }
public Nullable<decimal> Qty { get; set; }
public string AskBillNum { get; set; }
public string PoBillNum { get; set; }
public int PoLine { get; set; }
public string PartCode { get; set; }
public Nullable<decimal> Number { get; set; }
public string PartDesc1 { get; set; }//
public bool IsDeleted { get; set; }
public Nullable<System.DateTime> BeginTime { get; set; }
public Nullable<System.DateTime> EndTime { get; set; }
[Key]
public long UID { get; set; }
public string Site { get; set; }
public string VendId { get; set; }
public Nullable<System.DateTime> RecvTime { get; set; }
public Nullable<decimal> ReviceQty { get; set; }
public int? State { get; set; }
public string ProjectId { get; set; }
[NotMapped]
public Nullable<System.DateTime> ShipTime { get; set; }
[NotMapped]
public string CreateUser { get; set; }
public string Buyer { get; set; }
[NotMapped]
public DateTime? RecvBeginTime { get; set; }
[NotMapped]
public DateTime? RecvEndTime { get; set; }
[NotMapped]
public string State_Desc { get; set; }
public string SubSite { get; set; }
}
public partial class TB_PO_PLAN_EXTEND : RecordEntity
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long UID { get; set; }
[Key]
[Column(Order = 0)]
public string PoBillNum { get; set; }
[Key]
[Column(Order = 1)]
public string Domain { get; set; }
[Key]
[Column(Order = 5)]
public string Site { get; set; }
[Key]
[Column(Order = 2)]
public DateTime EndTime { get; set; }
[Key]
[Column(Order = 3)]
public string PartCode { get; set; }
[Key]
[Column(Order = 4)]
public string Version { get; set; }
public string ErpBillNum { get; set; }
public string VendId { get; set; }
public Nullable<int> PlanType { get; set; }
public string Contacter { get; set; }
public string Buyer { get; set; }
public System.DateTime BeginTime { get; set; }
public string BuyerPhone { get; set; }
public int State { get; set; }
public int PoLine { get; set; }
public decimal PlanQty { get; set; }
public string PoUnit { get; set; }
public string LocUnit { get; set; }
public decimal Price { get; set; }
public string Currency { get; set; }
public decimal PackQty { get; set; }
public decimal UnConv { get; set; }
public string DockCode { get; set; }
public string Remark { get; set; }
public string Extend1 { get; set; }
public string Extend2 { get; set; }
public string Extend3 { get; set; }
}
public partial class V_TM_HYANTOLIN_REVIEW
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[Key]
public string ReviewBillNum { get; set; }
public string RelationReviewNo { get; set; }
public Nullable<int> ReviewType { get; set; }
public Nullable<int> ReviewSite { get; set; }
public string BarCode { get; set; }
public string PartCode { get; set; }
public string Batch { get; set; }
public string ProjectId { get; set; }
public Nullable<decimal> Qty { get; set; }
public string BadCouse { get; set; }
public string ReviewResult { get; set; }
public string UltimateDepart { get; set; }
public string UltimateName { get; set; }
public Nullable<decimal> ClaimAmount { get; set; }
public string OperName { get; set; }
public Nullable<System.DateTime> BillDate { get; set; }
public Nullable<System.DateTime> CreateTime { get; set; }
public Nullable<System.DateTime> ReviewTime { get; set; }
public System.Guid Guid { get; set; }
public string Domain { get; set; }
public Nullable<int> State { get; set; }
public string VendId { get; set; }
public string VendName { get; set; }
public string Currency { get; set; }
public string Unit { get; set; }
public string PartDesc { get; set; }
public string CaimGUID { get; set; }
[NotMapped]
[DisplayName("开始时间")]
public DateTime? BeginTime { get; set; }
[NotMapped]
[DisplayName("结束时间")]
public DateTime? EndTime { get; set; }
[NotMapped]
public List<string> UserInAddress { set; get; }
[NotMapped]
public List<string> UserInVendIds { set; get; }
[NotMapped]
public List<int> BillStateList { set; get; }
}
public class TB_CLAIM_APPEND
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Key]
public long UID { set; get; }
/// <summary>
/// 索赔GUID
/// </summary>
public Guid? CaimGUID { set; get; }
/// <summary>
/// 文件名
/// </summary>
public string FileName { set; get; }
/// <summary>
/// 扩展名
/// </summary>
public string Extend { set; get; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? CreateTime { set; get; }
/// <summary>
/// FileNameMD5文件名称
/// </summary>
public string FileNameMD5 { set; get; }
[NotMapped]
public string Link { set; get; }
}
public class TM_HYANTOLIN_REVIEW
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[Key]
[Column(Order = 0)]
[DisplayName("评审单编号")]
public string ReviewBillNum { get; set; }
[DisplayName("关联单号")]
public string RelationReviewNo { get; set; }
[DisplayName("评审单类型")]
public EnumReviewType ReviewType { get; set; }
[DisplayName("评审单位置")]
public EnumReviewSite ReviewSite { get; set; }
[Key]
[Column(Order = 1)]
[DisplayName("标签条码")]
public string BarCode { get; set; }
[DisplayName("物料号")]
public string PartCode { get; set; }
[DisplayName("批次")]
public string Batch { get; set; }
[DisplayName("项目")]
public string ProjectId { get; set; }
[DisplayName("数量")]
public decimal Qty { get; set; }
[DisplayName("不合格原因")]
public string BadCouse { get; set; }
[DisplayName("评审结果")]
public string ReviewResult { get; set; }
[DisplayName("最终处理部门")]
public string UltimateDepart { get; set; }
[DisplayName("最终处理名称")]
public string UltimateName { get; set; }
[DisplayName("索赔金额")]
public decimal ClaimAmount { get; set; }
[DisplayName("操作员")]
public string OperName { get; set; }
[DisplayName("审核日期")]
public DateTime BillDate { get; set; }
[DisplayName("创建时间")]
public DateTime CreateTime { get; set; }
[DisplayName("审核时间")]
public DateTime ReviewTime { get; set; }
[DisplayName("Guid")]
public Guid Guid { get; set; }
[DisplayName("域")]
public string Domain { get; set; }
public int State { get; set; }
[NotMapped]
[DisplayName("开始时间")]
public DateTime? BeginTime { get; set; }
[NotMapped]
[DisplayName("结束时间")]
public DateTime? EndTime { get; set; }
[NotMapped]
public List<string> UserInAddress { set; get; }
[NotMapped]
public List<string> UserInVendIds { set; get; }
[NotMapped]
public List<int> BillStateList { set; get; }
}
public class V_TIMELY_DELIVERY
{
public decimal AskQty { get; set; }
public decimal ReduceQty { get; set; }
public Nullable<decimal> Qty { get; set; }
public string AskBillNum { get; set; }
public string PoBillNum { get; set; }
public int PoLine { get; set; }
public string PartCode { get; set; }
public Nullable<decimal> Number { get; set; }
public string PartDesc1 { get; set; }
public System.Guid GUID { get; set; }
public bool IsDeleted { get; set; }
public Nullable<System.DateTime> BeginTime { get; set; }
public Nullable<System.DateTime> EndTime { get; set; }
public long UID { get; set; }
public Nullable<int> ValidityDays { get; set; }
public string Site { get; set; }
public string VendId { get; set; }
public Nullable<int> ReviceDelayDay { get; set; }
public Nullable<System.DateTime> RecvTime { get; set; }
public Nullable<decimal> ReviceQty { get; set; }
public Nullable<System.DateTime> shiptime { get; set; }
public string CreateUser { get; set; }
public string Buyer { get; set; }
[NotMapped]
public DateTime? RecvBeginTime { get; set; }
[NotMapped]
public DateTime? RecvEndTime { get; set; }
public string SubSite { get; set; }
}
}