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.

177 lines
4.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 = "cw_vouchers_gl", DisableSyncStructure = true)]
public partial class CwVouchersGl {
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string STARTGID { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(16)", IsPrimary = true, IsNullable = false)]
public string VOUALLNO { get; set; } = "";
/// <summary>
/// 月
/// </summary>
[JsonProperty, Column(DbType = "varchar(2)")]
public string ACCMONTH { get; set; }
/// <summary>
/// 年
/// </summary>
[JsonProperty, Column(DbType = "varchar(4)")]
public string ACCYEAR { 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;
/// <summary>
/// 附件(单据)数
/// </summary>
[JsonProperty]
public int? ATTACHS { get; set; } = 0;
[JsonProperty, Column(DbType = "varchar(50)")]
public string CarryOverType { get; set; } = "";
/// <summary>
/// 审核人
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CHECKED { get; set; }
[JsonProperty]
public DateTime? CHECKEDTIME { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty]
public DateTime? CREATETIME { get; set; }
/// <summary>
/// 创建人GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { 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 = "varchar(10)")]
public string ENTERED { get; set; }
/// <summary>
/// 错误信息
/// </summary>
[JsonProperty, Column(DbType = "varchar(6)")]
public string ERRMSG { get; set; }
/// <summary>
/// 是否含有外币科目
/// </summary>
[JsonProperty, Column(DbType = "varchar(8)", IsNullable = false)]
public string FCY { get; set; }
[JsonProperty]
public bool? ISCARRY { get; set; } = false;
[JsonProperty]
public bool? ISCHECKED { get; set; } = false;
/// <summary>
/// 是否废除
/// </summary>
[JsonProperty]
public bool? ISDELETE { get; set; } = false;
[JsonProperty]
public bool? ISEXPORT { get; set; } = false;
/// <summary>
/// 最后一次更新操作时间
/// </summary>
[JsonProperty]
public DateTime? MODIFIEDTIME { get; set; }
/// <summary>
/// 最后一次更新操作人GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; } = "";
/// <summary>
/// 唯一编码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string ORDNO { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 制单人
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string PREPARED { get; set; }
/// <summary>
/// 是否含有数量科目
/// </summary>
[JsonProperty, Column(DbType = "varchar(1)")]
public string QTY { get; set; }
/// <summary>
/// 凭证字
/// </summary>
[JsonProperty, Column(DbType = "varchar(8)")]
public string VKNO { get; set; }
/// <summary>
/// 凭证日期
/// </summary>
[JsonProperty]
public DateTime? VOUDATE { get; set; }
/// <summary>
/// 自动生成编号,月初清零
/// </summary>
[JsonProperty]
public int VOUNO { get; set; }
/// <summary>
/// 凭证属性
/// </summary>
[JsonProperty, Column(DbType = "varchar(1)")]
public string VOUPROP { get; set; }
}
}