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.

36 lines
892 B
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 = "code_source", DisableSyncStructure = true)]
public partial class CodeSource {
/// <summary>
/// 代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string SOURCEID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 分公司代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CORPID { get; set; }
/// <summary>
/// 市场来源
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string SOURCENAME { get; set; }
}
}