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.

123 lines
3.2 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 = "crm_orderfee", DisableSyncStructure = true)]
public partial class CrmOrderfee {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? AMOUNT { get; set; }
[JsonProperty]
public DateTime? AUDITDATE { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string AUDITOPERATOR { get; set; }
[JsonProperty]
public int? AUDITSTATUS { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string BSNO { get; set; }
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? COMMISSIONRATE { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string CURRENCY { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string CUSTOMERNAME { get; set; }
[JsonProperty]
public int? CUSTOMERTYPE { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string DEBITNO { get; set; }
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? ENTERDATE { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string ENTEROPERATOR { get; set; }
[JsonProperty, Column(DbType = "numeric(18,5)")]
public decimal? EXCHANGERATE { 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; }
[JsonProperty]
public int? FEETYPE { get; set; }
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? INVOICE { get; set; }
[JsonProperty]
public bool? ISADVANCEDPAY { get; set; }
[JsonProperty]
public bool? ISDEBIT { get; set; }
[JsonProperty]
public bool? ISINVOICE { get; set; }
[JsonProperty]
public bool? ISOPEN { get; set; }
[JsonProperty]
public bool? ISSUBMIT2FEE { get; set; } = false;
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? ORDERAMOUNT { get; set; }
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? ORDERINVOICE { get; set; }
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? QUANTITY { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string REASON { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string REMARK { get; set; }
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? SETTLEMENT { get; set; }
[JsonProperty]
public int? SORT { get; set; }
[JsonProperty, Column(DbType = "smalldatetime")]
public DateTime? SUBMITDATE { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string UNIT { get; set; }
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? UNITPRICE { get; set; }
}
}