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.

147 lines
3.6 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_advance_payment", DisableSyncStructure = true)]
public partial class ChFeeAdvancePayment {
/// <summary>
/// 惟一编号
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 实录金额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? AMOUNT { get; set; } = 0M;
[JsonProperty, Column(DbType = "varchar(50)")]
public string BANKACCID { get; set; }
/// <summary>
/// 帐单编号
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string BILLNO { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(10)")]
public string BLSTATUS { get; set; }
/// <summary>
/// 所属分公司
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string COMPANYID { get; set; } = "";
/// <summary>
/// 录入时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? CREATETIME { get; set; }
/// <summary>
/// 录入人
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; } = "";
/// <summary>
/// 币别
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string CURRENCY { get; set; } = "RMB";
/// <summary>
/// 客户名称
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string CUSTOMERNAME { get; set; } = "";
/// <summary>
/// 删除操作时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? DELETETIME { get; set; }
/// <summary>
/// 删除操作人
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string DELETEUSER { get; set; } = "";
/// <summary>
/// 核销金额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,3)")]
public decimal? DOAMOUNT { get; set; } = 0M;
[JsonProperty, Column(DbType = "numeric(18,4)")]
public decimal? EXCHANGERATE { get; set; }
/// <summary>
/// 单据用途1收款2付款
/// </summary>
[JsonProperty]
public int? FEETYPE { get; set; } = 0;
/// <summary>
/// 是否已删除
/// </summary>
[JsonProperty]
public bool? ISDELETE { get; set; } = false;
/// <summary>
/// 是否全部完成核销
/// </summary>
[JsonProperty]
public bool? ISFINISH { get; set; } = false;
[JsonProperty]
public bool? ISVOU { get; set; }
/// <summary>
/// 结算单号GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string LINKGID { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(200)")]
public string REASON { get; set; } = "";
/// <summary>
/// 备注
/// </summary>
[JsonProperty, Column(DbType = "varchar(1024)")]
public string REMARK { get; set; } = "";
/// <summary>
/// 核销结算时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? SETTLETIME { get; set; }
/// <summary>
/// 核销结算人
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string SETTLEUSER { get; set; } = "";
/// <summary>
/// 凭证号
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string VOUCHERNO { get; set; } = "";
}
}