using Microsoft.EntityFrameworkCore.Metadata.Internal; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using WalkingTec.Mvvm.Core; namespace wtmProject.Model { public class WTM_CONTRACT_IMPORT_TEMP : BasePoco, ITenant { [Display(Name = "_Admin.Tenant")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string TenantCode { get; set; } [Display(Name = "_Admin.ContractCode")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string ContractCode { get; set; } [Display(Name = "_Admin.ContractName")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string ContractName { get; set; } [Display(Name = "_Admin.Year")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string Year { get; set; } [Display(Name = "_Admin.ERPCode")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string ERPCode { get; set; } [Display(Name = "_Admin.ERPName")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string ERPName { get; set; } [Display(Name = "_Admin.NUM")] public int NUM { get; set; } [Display(Name = "_Admin.CustomName")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string CustomName { get; set; } [Display(Name = "_Admin.ProjectType")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string ProjectType { get; set; } [Display(Name = "_Admin.CustomType")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string CustomType { get; set; } [Display(Name = "_Admin.SignDate")] public DateTime? SignDate { get; set; } [Display(Name = "_Admin.ContractAmount")] [Column(TypeName = "decimal(18, 2)")] public decimal? ContractAmount { get; set; } [Display(Name = "_Admin.ProjectManage")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string ProjectManage { get; set; } [Display(Name = "_Admin.MarkManage")] [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")] public string MarkManage { get; set; } [Display(Name = "_Admin.FirstBillingAmount")] [Column(TypeName = "decimal(18, 2)")] public decimal? FirstBillingAmount { get; set; } [Display(Name = "_Admin.FirstBillingDate")] public DateTime? FirstBillingDate { get; set; } [Display(Name = "_Admin.FirstReceivedAmount")] [Column(TypeName = "decimal(18, 2)")] public decimal? FirstReceivedAmount { get; set; } [Display(Name = "_Admin.FirstReceivedDate")] public DateTime? FirstReceivedDate { get; set; } [Display(Name = "_Admin.SecondBillingAmount")] [Column(TypeName = "decimal(18, 2)")] public decimal? SecondBillingAmount { get; set; } [Display(Name = "_Admin.SecondBillingDate")] public DateTime? SecondBillingDate { get; set; } [Display(Name = "_Admin.SecondReceivedAmount")] [Column(TypeName = "decimal(18, 2)")] public decimal? SecondReceivedAmount { get; set; } [Display(Name = "_Admin.SecondReceivedDate")] public DateTime? SecondReceivedDate { get; set; } [Display(Name = "_Admin.ThreeBillingAmount")] [Column(TypeName = "decimal(18, 2)")] public decimal? ThreeBillingAmount { get; set; } [Display(Name = "_Admin.ThreeBillingDate")] public DateTime? ThreeBillingDate { get; set; } [Display(Name = "_Admin.ThreeReceivedAmount")] [Column(TypeName = "decimal(18, 2)")] public decimal? ThreeReceivedAmount { get; set; } [Display(Name = "_Admin.ThreeReceivedDate")] public DateTime? ThreeReceivedDate { get; set; } [Display(Name = "_Admin.FourthBillingAmount")] [Column(TypeName = "decimal(18, 2)")] public decimal? FourthBillingAmount { get; set; } [Display(Name = "_Admin.FourthBillingDate")] public DateTime? FourthBillingDate { get; set; } [Display(Name = "_Admin.FourthReceivedAmount")] [Column(TypeName = "decimal(18, 2)")] public decimal? FourthReceivedAmount { get; set; } [Display(Name = "_Admin.FourthReceivedDate")] public DateTime? FourthReceivedDate { get; set; } [Display(Name = "_Admin.FifthBillingAmount")] [Column(TypeName = "decimal(18, 2)")] public decimal? FifthBillingAmount { get; set; } [Display(Name = "_Admin.FifthBillingDate")] public DateTime? FifthBillingDate { get; set; } [Display(Name = "_Admin.FifthReceivedAmount")] [Column(TypeName = "decimal(18, 2)")] public decimal? FifthReceivedAmount { get; set; } [Display(Name = "_Admin.FifthReceivedDate")] public DateTime? FifthReceivedDate { get; set; } } }