50 lines
1.7 KiB
C#
50 lines
1.7 KiB
C#
|
|
using WinformGeneralDeveloperFrame.Commons;
|
||
|
|
|
||
|
|
namespace MES.Entity
|
||
|
|
{
|
||
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
|
using System.Data.Entity.Spatial;
|
||
|
|
|
||
|
|
[Table("supplier")]
|
||
|
|
public partial class supplierInfo
|
||
|
|
{
|
||
|
|
[ModelBindControl("txtid")]
|
||
|
|
public int id{set;get;}
|
||
|
|
[ModelBindControl("txtsuppliername")]
|
||
|
|
public string suppliername{set;get;}
|
||
|
|
[ModelBindControl("txtmanufacturertype")]
|
||
|
|
public int manufacturertype{set;get;}
|
||
|
|
[ModelBindControl("txtcontacts")]
|
||
|
|
public int contacts{set;get;}
|
||
|
|
[ModelBindControl("txtaddress")]
|
||
|
|
public string address{set;get;}
|
||
|
|
[ModelBindControl("txtvatrate")]
|
||
|
|
public decimal vatrate{set;get;}
|
||
|
|
[ModelBindControl("txttaxpayeridentity")]
|
||
|
|
public string taxpayeridentity{set;get;}
|
||
|
|
[ModelBindControl("txtbankaccount")]
|
||
|
|
public string bankaccount{set;get;}
|
||
|
|
[ModelBindControl("txtsuppliercode")]
|
||
|
|
public string suppliercode{set;get;}
|
||
|
|
[ModelBindControl("txtpayments")]
|
||
|
|
public decimal payments{set;get;}
|
||
|
|
[ModelBindControl("txttotalamountsettled")]
|
||
|
|
public decimal totalamountsettled{set;get;}
|
||
|
|
[ModelBindControl("txttotaloutstandingamount")]
|
||
|
|
public decimal totaloutstandingamount{set;get;}
|
||
|
|
[ModelBindControl("txtremark")]
|
||
|
|
public string remark{set;get;}
|
||
|
|
[ModelBindControl("txtcreatorId")]
|
||
|
|
public int creatorId{set;get;}
|
||
|
|
[ModelBindControl("txtcreateTime")]
|
||
|
|
public DateTime? createTime{set;get;}=DateTime.Now;
|
||
|
|
[ModelBindControl("txteditorId")]
|
||
|
|
public int editorId{set;get;}
|
||
|
|
[ModelBindControl("txteditTime")]
|
||
|
|
public DateTime? editTime{set;get;}=DateTime.Now;
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|