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.

51 lines
1.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 = "ch_genleg_share", DisableSyncStructure = true)]
public partial class ChGenlegShare {
/// <summary>
/// 管理费用单号(ch_fee_management)
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string LINKGID { get; set; }
/// <summary>
/// 月
/// </summary>
[JsonProperty, Column(DbType = "varchar(2)", IsPrimary = true, IsNullable = false)]
public string MONTH { get; set; }
/// <summary>
/// 年
/// </summary>
[JsonProperty, Column(DbType = "varchar(4)", IsPrimary = true, IsNullable = false)]
public string YEAR { get; set; }
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMOUNT { get; set; } = 0M;
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMOUNTLAST { get; set; } = 0M;
[JsonProperty, Column(DbType = "numeric(18,2)")]
public decimal? AMOUNTOPEN { get; set; } = 0M;
/// <summary>
/// 唯一编码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
}
}