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.

105 lines
2.7 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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 = "crm_info_faq", DisableSyncStructure = true)]
public partial class CrmInfoFaq {
/// <summary>
/// 主键GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
[JsonProperty, Column(DbType = "varchar(100)", IsNullable = false)]
public string CLIENTGID { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(100)")]
public string CNTRTOTAL { get; set; } = "";
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? CREATETIME { get; set; }
/// <summary>
/// 创建人
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; } = "getdate()";
[JsonProperty]
public DateTime? ETD { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string FAQREPLYMAN { get; set; }
[JsonProperty, Column(DbType = "varchar(30)")]
public string GOODSNAME { get; set; } = "";
/// <summary>
/// 是否问题
/// </summary>
[JsonProperty]
public bool? ISPROBLEM { get; set; } = false;
[JsonProperty]
public bool? ISTHROUGH { get; set; } = false;
/// <summary>
/// 是否继续提问
/// </summary>
[JsonProperty]
public bool? ISTYPE { get; set; } = false;
[JsonProperty, Column(DbType = "numeric(18,2)", InsertValueSql = "")]
public decimal? KGS { get; set; }
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORTDISCHARGE { get; set; } = "";
[JsonProperty, Column(DbType = "varchar(60)")]
public string PORTLOAD { get; set; } = "";
[JsonProperty, Column(DbType = "numeric(18,2)", InsertValueSql = "")]
public decimal? PRICE { get; set; }
/// <summary>
/// 内容描述
/// </summary>
[JsonProperty, Column(DbType = "varchar(1024)")]
public string PROBLEMCONTENT { get; set; }
/// <summary>
/// 主问题GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string PROBLEMGID { get; set; }
/// <summary>
/// 问题标题
/// </summary>
[JsonProperty, Column(DbType = "varchar(1024)")]
public string PROBLEMTITLE { get; set; }
/// <summary>
/// 问题类型
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string PROBLEMTYPE { get; set; }
[JsonProperty, Column(DbType = "varchar(20)")]
public string SHORTNAME { get; set; } = "";
}
}