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.
 
 
 
 
 

133 lines
3.4 KiB

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 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 enum EnumReviewType
{
[Description("报废")]
SCRAP = 0,
[Description("退货")]
REJECT = 1,
[Description("索赔")]
CLAIM = 2,
}
public enum EnumReviewSite
{
[Description("发泡")]
Foaming = 10,
[Description("包覆")]
Coating = 10,
[Description("装配")]
Assembly = 10,
[Description("退货")]
Reject = 10,
[Description("第三方仓库")]
ThirdParty = 10,
[Description("客户处")]
Customer = 10,
[Description("供应商(退货)")]
VenderReject = 10,
[Description("供应商索赔(过程&客退)")]
VenderClaim = 10,
}
}