using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace Entity.Sugar
{
///
///
///
[SugarTable("OTB_OPM_Bills")]
public partial class OTB_OPM_Bills : ModelContext
{
public OTB_OPM_Bills(){
}
///
/// Desc:
/// Default:
/// Nullable:False
///
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
public int SN {get;set;}
public const string CN_SN = "SN";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string BillNO {get;set;}
public const string CN_BILLNO = "BillNO";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string CheckDate {get;set;}
public const string CN_CHECKDATE = "CheckDate";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string BillType {get;set;}
public const string CN_BILLTYPE = "BillType";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string CustomerCode {get;set;}
public const string CN_CUSTOMERCODE = "CustomerCode";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string ResponsiblePersonCode {get;set;}
public const string CN_RESPONSIBLEPERSONCODE = "ResponsiblePersonCode";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string LastGetBillDate {get;set;}
public const string CN_LASTGETBILLDATE = "LastGetBillDate";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string LastGetBillNO {get;set;}
public const string CN_LASTGETBILLNO = "LastGetBillNO";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string TaxType {get;set;}
public const string CN_TAXTYPE = "TaxType";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string NOTaxAmount {get;set;}
public const string CN_NOTAXAMOUNT = "NOTaxAmount";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string BillAmount {get;set;}
public const string CN_BILLAMOUNT = "BillAmount";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string PaymentAmount {get;set;}
public const string CN_PAYMENTAMOUNT = "PaymentAmount";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string Allowance {get;set;}
public const string CN_ALLOWANCE = "Allowance";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string DebtAmount {get;set;}
public const string CN_DEBTAMOUNT = "DebtAmount";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string ExchangeAmount {get;set;}
public const string CN_EXCHANGEAMOUNT = "ExchangeAmount";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string Settle {get;set;}
public const string CN_SETTLE = "Settle";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string InvoiceStartNumber {get;set;}
public const string CN_INVOICESTARTNUMBER = "InvoiceStartNumber";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string InvoiceEndNumber {get;set;}
public const string CN_INVOICEENDNUMBER = "InvoiceEndNumber";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string Category {get;set;}
public const string CN_CATEGORY = "Category";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string OrderNo {get;set;}
public const string CN_ORDERNO = "OrderNo";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string ClosingNote {get;set;}
public const string CN_CLOSINGNOTE = "ClosingNote";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string GeneralInvoiceNumber {get;set;}
public const string CN_GENERALINVOICENUMBER = "GeneralInvoiceNumber";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string GeneralSerialNumber {get;set;}
public const string CN_GENERALSERIALNUMBER = "GeneralSerialNumber";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string Remark1 {get;set;}
public const string CN_REMARK1 = "Remark1";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string AccountSource {get;set;}
public const string CN_ACCOUNTSOURCE = "AccountSource";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string UpdateDate {get;set;}
public const string CN_UPDATEDATE = "UpdateDate";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string UpdatePersonnel {get;set;}
public const string CN_UPDATEPERSONNEL = "UpdatePersonnel";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string DepartmentSiteNumber {get;set;}
public const string CN_DEPARTMENTSITENUMBER = "DepartmentSiteNumber";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string ProjectNumber {get;set;}
public const string CN_PROJECTNUMBER = "ProjectNumber";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string TransferBNotes {get;set;}
public const string CN_TRANSFERBNOTES = "TransferBNotes";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string ABNumber {get;set;}
public const string CN_ABNUMBER = "ABNumber";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string EnterNumber {get;set;}
public const string CN_ENTERNUMBER = "EnterNumber";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string ForeignCurrencyCode {get;set;}
public const string CN_FOREIGNCURRENCYCODE = "ForeignCurrencyCode";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string ExchangeRate {get;set;}
public const string CN_EXCHANGERATE = "ExchangeRate";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string ForeignAmount {get;set;}
public const string CN_FOREIGNAMOUNT = "ForeignAmount";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string PayAmount {get;set;}
public const string CN_PAYAMOUNT = "PayAmount";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string RefundAmount {get;set;}
public const string CN_REFUNDAMOUNT = "RefundAmount";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string PaymentTerms {get;set;}
public const string CN_PAYMENTTERMS = "PaymentTerms";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string AccountDate {get;set;}
public const string CN_ACCOUNTDATE = "AccountDate";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string DCreditCardNumber {get;set;}
public const string CN_DCREDITCARDNUMBER = "DCreditCardNumber";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string ClosingDate {get;set;}
public const string CN_CLOSINGDATE = "ClosingDate";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField1 {get;set;}
public const string CN_CUSFIELD1 = "CusField1";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField2 {get;set;}
public const string CN_CUSFIELD2 = "CusField2";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField3 {get;set;}
public const string CN_CUSFIELD3 = "CusField3";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField4 {get;set;}
public const string CN_CUSFIELD4 = "CusField4";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField5 {get;set;}
public const string CN_CUSFIELD5 = "CusField5";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField6 {get;set;}
public const string CN_CUSFIELD6 = "CusField6";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField7 {get;set;}
public const string CN_CUSFIELD7 = "CusField7";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField8 {get;set;}
public const string CN_CUSFIELD8 = "CusField8";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField9 {get;set;}
public const string CN_CUSFIELD9 = "CusField9";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField10 {get;set;}
public const string CN_CUSFIELD10 = "CusField10";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField11 {get;set;}
public const string CN_CUSFIELD11 = "CusField11";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CusField12 {get;set;}
public const string CN_CUSFIELD12 = "CusField12";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string Remark2 {get;set;}
public const string CN_REMARK2 = "Remark2";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string TWNOTaxAmount {get;set;}
public const string CN_TWNOTAXAMOUNT = "TWNOTaxAmount";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string TWAmount {get;set;}
public const string CN_TWAMOUNT = "TWAmount";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CreateUser {get;set;}
public const string CN_CREATEUSER = "CreateUser";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string CreateDate {get;set;}
public const string CN_CREATEDATE = "CreateDate";
///
/// Desc:
/// Default:
/// Nullable:False
///
public string OrgID {get;set;}
public const string CN_ORGID = "OrgID";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string BillFirstCheckDate {get;set;}
public const string CN_BILLFIRSTCHECKDATE = "BillFirstCheckDate";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string ResponsiblePersonFullCode {get;set;}
public const string CN_RESPONSIBLEPERSONFULLCODE = "ResponsiblePersonFullCode";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string Advance {get;set;}
public const string CN_ADVANCE = "Advance";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string TaxSum {get;set;}
public const string CN_TAXSUM = "TaxSum";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string TotalReceivable {get;set;}
public const string CN_TOTALRECEIVABLE = "TotalReceivable";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string IsRetn {get;set;}
public const string CN_ISRETN = "IsRetn";
///
/// Desc:
/// Default:
/// Nullable:True
///
public string Url {get;set;}
public const string CN_URL = "Url";
}
}