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.

99 lines
2.4 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_currency_rate", DisableSyncStructure = true)]
public partial class CwCurrencyRate {
/// <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 = "varchar(7)")]
public string ACCDATE { get; set; }
/// <summary>
/// 期初汇率
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,5)")]
public decimal? BEGRATE { get; set; } = 1M;
/// <summary>
/// 分公司GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
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>
/// 删除人GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string DELETEUSER { get; set; }
/// <summary>
/// 期末汇率
/// </summary>
[JsonProperty, Column(DbType = "numeric(18,5)")]
public decimal? ENDRATE { get; set; } = 1M;
/// <summary>
/// 是否删除
/// </summary>
[JsonProperty]
public bool? ISDELETE { get; set; } = false;
/// <summary>
/// 货币GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string LINKGID { get; set; }
/// <summary>
/// 最后一次更改操作时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
/// <summary>
/// 最后一次更改操作人GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string STARTGID { get; set; } = "";
}
}