|
|
/*
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
*如果数据库字段发生变化,请在代码生器重新生成此Model
|
|
|
*/
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
using VOL.Entity.SystemModels;
|
|
|
|
|
|
namespace VOL.Entity.DomainModels
|
|
|
{
|
|
|
[Entity(TableCnName = "基础表单+编辑只读",TableName = "App_Appointment")]
|
|
|
public class App_Appointment:BaseEntity
|
|
|
{
|
|
|
/// <summary>
|
|
|
///姓名
|
|
|
/// </summary>
|
|
|
[Display(Name ="姓名")]
|
|
|
[MaxLength(100)]
|
|
|
[Column(TypeName="nvarchar(100)")]
|
|
|
[Editable(true)]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///描述
|
|
|
/// </summary>
|
|
|
[Display(Name ="描述")]
|
|
|
[MaxLength(500)]
|
|
|
[Column(TypeName="nvarchar(500)")]
|
|
|
[Editable(true)]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public string Describe { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///电话
|
|
|
/// </summary>
|
|
|
[Display(Name ="电话")]
|
|
|
[MaxLength(30)]
|
|
|
[Column(TypeName="nvarchar(30)")]
|
|
|
[Editable(true)]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public string PhoneNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Key]
|
|
|
[Display(Name ="Id")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
[Editable(true)]
|
|
|
[Required(AllowEmptyStrings=false)]
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///创建时间
|
|
|
/// </summary>
|
|
|
[Display(Name ="创建时间")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? CreateDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="CreateID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? CreateID { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///创建人
|
|
|
/// </summary>
|
|
|
[Display(Name ="创建人")]
|
|
|
[MaxLength(60)]
|
|
|
[Column(TypeName="nvarchar(60)")]
|
|
|
[Editable(true)]
|
|
|
public string Creator { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///修改人
|
|
|
/// </summary>
|
|
|
[Display(Name ="修改人")]
|
|
|
[MaxLength(60)]
|
|
|
[Column(TypeName="nvarchar(60)")]
|
|
|
[Editable(true)]
|
|
|
public string Modifier { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///修改时间
|
|
|
/// </summary>
|
|
|
[Display(Name ="修改时间")]
|
|
|
[Column(TypeName="datetime")]
|
|
|
[Editable(true)]
|
|
|
public DateTime? ModifyDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
[Display(Name ="ModifyID")]
|
|
|
[Column(TypeName="uniqueidentifier")]
|
|
|
public Guid? ModifyID { get; set; }
|
|
|
|
|
|
|
|
|
}
|
|
|
} |