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.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 = "tMsJhSparepart", DisableSyncStructure = true)]
public partial class TMsJhSparepart {
[JsonProperty, Column(DbType = "varchar(20)", IsPrimary = true, IsNullable = false)]
public string PcNo { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string JhBillNo { get; set; }
[JsonProperty, Column(DbType = "varchar(10)")]
public string JhDate { get; set; }
[JsonProperty, Column(DbType = "varchar(10)", IsNullable = false)]
public string OrgCode { get; set; }
[JsonProperty, Column(DbType = "varchar(20)", IsNullable = false)]
public string PluCode { get; set; }
[JsonProperty, Column(DbType = "varchar(40)", IsNullable = false)]
public string PluName { get; set; }
[JsonProperty, Column(DbType = "numeric(19,2)")]
public decimal RealMil { get; set; } = 0M;
[JsonProperty, Column(DbType = "varchar(40)")]
public string Spec { get; set; }
[JsonProperty, Column(DbType = "varchar(1)", IsNullable = false)]
public string TyreType { get; set; } = "0";
[JsonProperty, Column(DbType = "varchar(6)")]
public string Unit { get; set; }
}
}