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.

300 lines
7.1 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 = "cw_vouitems", DisableSyncStructure = true)]
public partial class CwVouitems {
/// <summary>
/// 唯一编码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(DbType = "varchar(500)")]
public string ACCALL { get; set; } = "";
/// <summary>
/// 科目代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(16)")]
public string ACCID { get; set; }
/// <summary>
/// 科目名称
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string ACCNAME { get; set; }
/// <summary>
/// 本位币贷方金额(互斥)
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMTCR { get; set; } = 0M;
/// <summary>
/// 本位币借方金额(互斥)
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMTDR { get; set; } = 0M;
[JsonProperty, Column(DbType = "varchar(30)", IsNullable = false)]
public string BLNO { get; set; } = "";
/// <summary>
/// 客户(系统)
/// </summary>
[JsonProperty, Column(DbType = "varchar(18)")]
public string CORPID { get; set; }
[JsonProperty, Column(DbType = "varchar(250)")]
public string CUSTOMERNAME { get; set; } = "";
/// <summary>
/// 借贷方向
/// </summary>
[JsonProperty, Column(DbType = "varchar(2)")]
public string DC { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string DEPTGID { get; set; } = "";
/// <summary>
/// 部门(系统)
/// </summary>
[JsonProperty, Column(DbType = "varchar(18)")]
public string DEPTID { get; set; }
/// <summary>
/// 人员(系统)
/// </summary>
[JsonProperty, Column(DbType = "varchar(18)")]
public string EMPLID { get; set; }
/// <summary>
/// 摘要,规则生成
/// </summary>
[JsonProperty, Column(DbType = "varchar(600)")]
public string EXPLAN { get; set; }
/// <summary>
/// 外币贷方金额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? FCYCR { get; set; } = 0M;
/// <summary>
/// 外币借方金额
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? FCYDR { get; set; } = 0M;
/// <summary>
/// 汇率
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,4)")]
public decimal? FCYEXRATE { get; set; } = 0M;
/// <summary>
/// 外币编号usd
/// </summary>
[JsonProperty, Column(DbType = "varchar(8)")]
public string FCYNO { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FIELD1 { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FIELD10 { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FIELD2 { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FIELD3 { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FIELD4 { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FIELD5 { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FIELD6 { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FIELD7 { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FIELD8 { get; set; }
/// <summary>
/// 预留字段1
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string FIELD9 { get; set; }
/// <summary>
/// 结算方式
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string FSETTLCODE { get; set; }
/// <summary>
/// 财务辅助编号
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string FSETTLENO { get; set; }
/// <summary>
/// 科目级别
/// </summary>
[JsonProperty]
public int? GRADE { get; set; } = 0;
/// <summary>
/// 核算客户,按规则设置生成
/// </summary>
[JsonProperty]
public bool? ISCORPACC { get; set; } = false;
/// <summary>
/// 核算部门,按规则设置生成
/// </summary>
[JsonProperty]
public bool? ISDEPTACC { get; set; } = false;
/// <summary>
/// 核算人员,按规则设置生成
/// </summary>
[JsonProperty]
public bool? ISEMPLACC { get; set; } = false;
/// <summary>
/// 是否外币
/// </summary>
[JsonProperty]
public bool? ISFCY { get; set; } = false;
/// <summary>
/// 核算项目,按规则设置生成
/// </summary>
[JsonProperty]
public bool? ISITEMACC { get; set; } = false;
/// <summary>
/// 是否手动录入
/// </summary>
[JsonProperty]
public bool? ISSYS { get; set; } = false;
[JsonProperty, Column(DbType = "varchar(36)")]
public string ITEMGID { get; set; } = "";
/// <summary>
/// 项目编号
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string ITEMID { get; set; }
/// <summary>
/// 行号
/// </summary>
[JsonProperty]
public int? ITEMNO { get; set; }
/// <summary>
/// 最后一次更新操作时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
/// <summary>
/// 最后一次更新操作人
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
/// <summary>
/// 关联cw_vouchers
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string ORDNO { get; set; }
/// <summary>
/// 父级科目代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(16)")]
public string PACCID { get; set; }
/// <summary>
/// 父级项目编号
/// </summary>
[JsonProperty]
public int? PITEMID { get; set; } = 0;
/// <summary>
/// 科目属性
/// </summary>
[JsonProperty]
public int? PROPERTY { get; set; } = 0;
/// <summary>
/// 贷方数量
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYCR { get; set; } = 0M;
/// <summary>
/// 借方数量
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? QTYDR { get; set; } = 0M;
/// <summary>
/// 数量包装单位
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string QTYUNIT { get; set; }
[JsonProperty, Column(DbType = "varchar(10)", IsNullable = false)]
public string SALE { get; set; } = "";
}
}