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

207 lines
5.9 KiB
C#

using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace djy.Model {
[JsonObject(MemberSerialization.OptIn), Table(Name = "ch_fee", DisableSyncStructure = true)]
public partial class ChFee {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(DbType = "varchar(7)")]
public string ACCDATE { get; set; }
[JsonProperty, Column(DbType = "numeric(18,4)")]
public decimal? ACCTAXRATE { get; set; }
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMOUNT { get; set; } = 0M;
[JsonProperty, Column(DbType = "smalldatetime")]
public DateTime? AUDITDATE { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string AUDITOPERATOR { get; set; }
[JsonProperty]
public int? AUDITSTATUS { get; set; } = 0;
[JsonProperty, Column(DbType = "varchar(100)")]
public string BSNO { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string BXGID { get; set; }
[JsonProperty, Column(Name = "CARGO_GID", DbType = "varchar(50)")]
public string CARGOGID { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(200)")]
public string CHEQUENUM { get; set; }
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? COMMISSIONRATE { get; set; } = 0M;
[JsonProperty, Column(DbType = "varchar(20)")]
public string CURRENCY { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string CUSTOMERNAME { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string CUSTOMERTYPE { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string DEBITNO { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string DELIVERYNO { get; set; } = "";
[JsonProperty, Column(DbType = "smalldatetime", InsertValueSql = "getdate()")]
public DateTime? ENTERDATE { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string ENTEROPERATOR { get; set; }
[JsonProperty, Column(DbType = "numeric(18,5)")]
public decimal? EXCHANGERATE { get; set; } = 0M;
[JsonProperty, Column(Name = "F_NO", DbType = "varchar(50)")]
public string FNO { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string FEEDESCRIPTION { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string FEEFRT { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string FEENAME { get; set; }
[JsonProperty]
public int? FEESTATUS { get; set; } = 1;
[JsonProperty]
public int? FEETYPE { get; set; } = 0;
[JsonProperty, Column(DbType = "varchar(40)")]
public string INPUTMODE { get; set; }
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? INVOICE { get; set; } = 0M;
[JsonProperty, Column(DbType = "varchar(200)")]
public string INVOICENUM { get; set; }
[JsonProperty]
public bool? ISACC { get; set; }
[JsonProperty]
public bool? ISADVANCEDPAY { get; set; } = false;
[JsonProperty]
public bool? ISCRMORDERFEE { get; set; } = false;
[JsonProperty]
public bool? ISDEBIT { get; set; } = false;
[JsonProperty]
public bool? ISINVOICE { get; set; } = false;
[JsonProperty]
public bool? ISOPEN { get; set; } = false;
[JsonProperty]
public bool? ISVOU { get; set; } = false;
[JsonProperty, Column(DbType = "varchar(50)")]
public string JKGID { get; set; } = "";
[JsonProperty]
public int? LINENUM { get; set; } = 0;
[JsonProperty, Column(DbType = "varchar(30)")]
public string LOCALCURR { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string MANAGER { get; set; }
[JsonProperty]
public DateTime? MODIFIEDTIME { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string MODIFIEDUSER { get; set; }
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? NOTAXAMOUNT { get; set; }
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? ORDERAMOUNT { get; set; } = 0M;
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? ORDERINVOICE { get; set; } = 0M;
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? ORDERINVSETTLEMENT { get; set; }
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? ORDERSETTLEMENT { get; set; }
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? PREAMOUNT { get; set; }
[JsonProperty, Column(DbType = "numeric(18,4)")]
public decimal? QUANTITY { get; set; } = 0M;
[JsonProperty, Column(DbType = "varchar(100)")]
public string REASON { get; set; }
[JsonProperty, Column(DbType = "varchar(1024)")]
public string REMARK { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string SALESNO { get; set; }
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? SETTLEMENT { get; set; } = 0M;
[JsonProperty]
public int? SORT { get; set; }
[JsonProperty, Column(DbType = "smalldatetime")]
public DateTime? SUBMITDATE { get; set; }
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? TAX { get; set; }
[JsonProperty, Column(DbType = "numeric(18,4)")]
public decimal? TAXRATE { get; set; }
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? TAXUNITPRICE { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string UNIT { get; set; }
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? UNITPRICE { get; set; } = 0M;
[JsonProperty, Column(DbType = "varchar(50)")]
public string VOUALLNO { get; set; } = "";
[JsonProperty, Column(DbType = "nchar(10)")]
public string VOUCHERNO { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string WMSOUTBSNO { get; set; }
}
}