mh_custom/wtmProject.Model/WTM_USER_AREA.cs

33 lines
897 B
C#
Raw Normal View History

2024-05-16 17:30:33 +08:00
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; }
}
}