mh_custom/wtmProject.Model/WTM_USER_AREA.cs
2024-05-17 13:43:36 +08:00

33 lines
897 B
C#

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 WalkingTec.Mvvm.Core;
namespace wtmProject.Model
{
/// <summary>
/// WTM_USER_AREA
/// </summary>
[Table("WTM_USER_AREA")]
public class WTM_USER_AREA : BasePoco, ITenant
{
[Required]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string UserCode { get; set; }
[Required]
[Display(Name = "_Admin.Area")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string AreaCode { get; set; }
[Display(Name = "_Admin.Tenant")]
[StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
public string TenantCode { get; set; }
}
}