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.

75 lines
2.2 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 = "tSysBillType", DisableSyncStructure = true)]
public partial class TSysBillType {
[JsonProperty, Column(DbType = "varchar(4)", IsPrimary = true, IsNullable = false)]
public string BillCode { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string BillGrp { get; set; }
[JsonProperty, Column(DbType = "varchar(30)")]
public string BillHeadTbl { get; set; }
[JsonProperty, Column(DbType = "varchar(20)", IsNullable = false)]
public string BillName { get; set; }
[JsonProperty, Column(DbType = "varchar(10)")]
public string DateFmt { get; set; } = "YYYYMMDD";
[JsonProperty, Column(DbType = "varchar(4)")]
public string DayNo { get; set; }
[JsonProperty, Column(DbType = "varchar(36)")]
public string GID { get; set; }
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
public string IsDate { get; set; } = "0";
[JsonProperty, Column(DbType = "varchar(1)")]
public string IsEmpPrefix { get; set; }
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
public string IsOrgPrefix { get; set; } = "0";
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
public string IsPrefix { get; set; } = "0";
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
public string IsRule { get; set; } = "0";
[JsonProperty, Column(DbType = "numeric(10,0)")]
public decimal MaxSerial { get; set; } = 0M;
[JsonProperty, Column(DbType = "varchar(4)")]
public string MonthNo { get; set; }
[JsonProperty, Column(DbType = "numeric(3,0)")]
public decimal NoLength { get; set; } = 14M;
[JsonProperty, Column(DbType = "numeric(3,0)")]
public decimal PrefixLen { get; set; } = 0M;
[JsonProperty, Column(DbType = "varchar(6)")]
public string PrefixNo { get; set; }
[JsonProperty, Column(DbType = "numeric(3,0)")]
public decimal SerialLen { get; set; } = 14M;
[JsonProperty, Column(DbType = "varchar(4)")]
public string YearNo { get; set; }
}
}