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.
DSWMS/Vue.Net/VOL.Entity/DomainModels/System/SYS_PRINTINFO.cs

134 lines
3.6 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.

/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化请在代码生器重新生成此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 = "SYS_PRINTINFO", DetailTable = new Type[] { typeof(SYS_PRINTINFO_DETAIL) }, DetailTableCnName = "SYS_PRINTINFO_DETAIL")]
public class SYS_PRINTINFO : BaseEntity
{
/// <summary>
///
/// </summary>
[Key]
[Display(Name = "PRINTID")]
[Column(TypeName = "uniqueidentifier")]
[Required(AllowEmptyStrings = false)]
public Guid PRINTID { get; set; }
/// <summary>
///模块名称
/// </summary>
[Display(Name = "模块名称")]
[MaxLength(50)]
[Column(TypeName = "varchar(50)")]
[Editable(true)]
public string MODNAME { get; set; }
/// <summary>
///打印格式名称
/// </summary>
[Display(Name = "打印格式名称")]
[MaxLength(50)]
[Column(TypeName = "varchar(50)")]
[Editable(true)]
public string PRINTNAME { get; set; }
/// <summary>
///打印格式文件
/// </summary>
[Display(Name = "打印格式文件")]
[MaxLength(500)]
[Column(TypeName = "varchar(500)")]
[Editable(true)]
public string FILEPATH { get; set; }
/// <summary>
///分公司
/// </summary>
[Display(Name = "分公司")]
[MaxLength(50)]
[Column(TypeName = "varchar(50)")]
[Editable(true)]
public string CORPID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name = "CreateID")]
[Column(TypeName = "uniqueidentifier")]
public Guid? CreateID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name = "Creator")]
[MaxLength(50)]
[Column(TypeName = "varchar(50)")]
public string Creator { get; set; }
/// <summary>
///
/// </summary>
[Display(Name = "CreateDate")]
[Column(TypeName = "datetime")]
public DateTime? CreateDate { get; set; }
/// <summary>
///
/// </summary>
[Display(Name = "ModifyID")]
[Column(TypeName = "uniqueidentifier")]
public Guid? ModifyID { get; set; }
/// <summary>
///
/// </summary>
[Display(Name = "Modifier")]
[MaxLength(50)]
[Column(TypeName = "varchar(50)")]
public string Modifier { get; set; }
/// <summary>
///
/// </summary>
[Display(Name = "ModifyDate")]
[Column(TypeName = "datetime")]
public DateTime? ModifyDate { get; set; }
/// <summary>
///
/// </summary>
[Display(Name = "CRC")]
[MaxLength(50)]
[Column(TypeName = "varchar(50)")]
public string CRC { get; set; }
[Display(Name = "SYS_PRINTINFO_DETAIL")]
[ForeignKey("PRINTID")]
public List<SYS_PRINTINFO_DETAIL> SYS_PRINTINFO_DETAIL { get; set; }
//private string OldFilePath { get; set; }
//public void SetOldFilePath()
//{
// OldFilePath = FILEPATH;
//}
//public string GetOldFilePath()
//{
// return OldFilePath;
//}
}
}