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.

90 lines
2.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 = "ct_carry_over", DisableSyncStructure = true)]
public partial class CtCarryOver {
/// <summary>
/// 会计日期
/// </summary>
[JsonProperty, Column(IsPrimary = true)]
public DateTime ACCDAY { get; set; }
/// <summary>
/// 账套启用GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string STARTGID { get; set; } = "";
/// <summary>
/// 会计期间
/// </summary>
[JsonProperty, Column(DbType = "varchar(7)")]
public string ACCDATE { get; set; } = "";
/// <summary>
/// 分公司代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; } = "";
/// <summary>
/// 日
/// </summary>
[JsonProperty, Column(DbType = "varchar(2)")]
public string DAY { get; set; } = "";
/// <summary>
/// 唯一编码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 是否期末轧账
/// </summary>
[JsonProperty]
public bool? ISCARRY { get; set; } = false;
/// <summary>
/// 是否返轧账
/// </summary>
[JsonProperty]
public bool? ISRETURN { get; set; } = false;
/// <summary>
/// 更改操作时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
/// <summary>
/// 更改操作人gid
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; } = "";
/// <summary>
/// 月
/// </summary>
[JsonProperty, Column(DbType = "varchar(2)")]
public string MONTH { get; set; } = "";
/// <summary>
/// 年
/// </summary>
[JsonProperty, Column(DbType = "varchar(4)")]
public string YEAR { get; set; } = "";
}
}