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.

48 lines
1.5 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 = "Customer_Balance", DisableSyncStructure = true)]
public partial class CustomerBalance {
[JsonProperty, Column(DbType = "varchar(50)", IsPrimary = true, IsNullable = false)]
public string CustomerGID { get; set; }
[JsonProperty, Column(DbType = "varchar(50)", IsPrimary = true, IsNullable = false)]
public string DeptGID { get; set; }
[JsonProperty, Column(Name = "Balance_1", DbType = "numeric(18,2)")]
public decimal Balance1 { get; set; } = 0M;
[JsonProperty, Column(Name = "Balance_2", DbType = "numeric(18,2)")]
public decimal Balance2 { get; set; } = 0M;
[JsonProperty, Column(Name = "Balance_3", DbType = "numeric(18,2)")]
public decimal Balance3 { get; set; } = 0M;
[JsonProperty, Column(Name = "Balance_4", DbType = "numeric(18,2)")]
public decimal Balance4 { get; set; } = 0M;
[JsonProperty, Column(Name = "Balance_5", DbType = "numeric(18,2)")]
public decimal Balance5 { get; set; } = 0M;
[JsonProperty, Column(DbType = "varchar(50)", IsNullable = false)]
public string GID { get; set; }
[JsonProperty, Column(Name = "inserted")]
public byte? Inserted { get; set; } = 1;
[JsonProperty]
public DateTime? StartTime { get; set; }
}
}