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.
30 lines
895 B
C#
30 lines
895 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 = "phone_vcode", DisableSyncStructure = true)]
|
|
public partial class PhoneVcode {
|
|
|
|
[JsonProperty, Column(Name = "gid", DbType = "varchar(50)", IsPrimary = true, IsNullable = false)]
|
|
public string Gid { get; set; } = Guid.NewGuid().ToString().ToUpper();
|
|
|
|
[JsonProperty, Column(Name = "createtime", InsertValueSql = "getdate()")]
|
|
public DateTime? Createtime { get; set; }
|
|
|
|
[JsonProperty, Column(Name = "phone", DbType = "varchar(20)")]
|
|
public string Phone { get; set; }
|
|
|
|
[JsonProperty, Column(Name = "vcode", DbType = "varchar(10)")]
|
|
public string Vcode { get; set; }
|
|
|
|
}
|
|
|
|
}
|