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.

117 lines
2.7 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_accitems", DisableSyncStructure = true)]
public partial class CwAccitems {
/// <summary>
/// 科目代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(16)", IsPrimary = true, IsNullable = false)]
public string ACCID { get; set; }
/// <summary>
/// 年
/// </summary>
[JsonProperty, Column(DbType = "varchar(4)", IsPrimary = true, IsNullable = false)]
public string YEAR { get; set; } = "";
/// <summary>
/// 科目属性(资产、负债、共同、权益、成本、损益)
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string ACCATTRIBUTE { get; set; } = "";
/// <summary>
/// 科目名称
/// </summary>
[JsonProperty, Column(DbType = "varchar(60)")]
public string ACCNAME { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string ACCTYPE { get; set; } = "";
/// <summary>
/// 借贷方向
/// </summary>
[JsonProperty, Column(DbType = "varchar(10)")]
public string DC { get; set; }
/// <summary>
/// 末级科目(标志)
/// </summary>
[JsonProperty]
public bool? DETAILED { get; set; } = true;
/// <summary>
/// 唯一编码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <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? ISENABLE { get; set; } = false;
/// <summary>
/// 是否核算外币
/// </summary>
[JsonProperty]
public bool? ISFCY { get; set; } = false;
/// <summary>
/// 是否核算项目
/// </summary>
[JsonProperty]
public bool? ISITEMACC { get; set; } = false;
/// <summary>
/// 月
/// </summary>
[JsonProperty, Column(DbType = "varchar(2)")]
public string MONTH { get; set; } = "";
/// <summary>
/// 父级科目代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string PACCGID { get; set; } = "";
/// <summary>
/// 备注
/// </summary>
[JsonProperty, Column(DbType = "varchar(200)")]
public string REMARKS { get; set; }
}
}