42 lines
1.2 KiB
C#
42 lines
1.2 KiB
C#
namespace WX.CRM.Model.Entity
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
[Table("UPDEV.BAS_ROLE")]
|
|
public partial class BAS_ROLE
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public BAS_ROLE()
|
|
{
|
|
BAS_ROLERIGHTRESOURCE = new HashSet<BAS_ROLERIGHTRESOURCE>();
|
|
}
|
|
|
|
[Key]
|
|
public decimal ROLEID { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(100)]
|
|
public string RNAME { get; set; }
|
|
|
|
public decimal SORTID { get; set; }
|
|
|
|
public DateTime? CTIME { get; set; }
|
|
|
|
public decimal? CREATEUSER { get; set; }
|
|
|
|
public DateTime? UTIME { get; set; }
|
|
|
|
public decimal? UPDATEUSER { get; set; }
|
|
|
|
[StringLength(20)]
|
|
public string CODE { get; set; }
|
|
public string REMARK { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<BAS_ROLERIGHTRESOURCE> BAS_ROLERIGHTRESOURCE { get; set; }
|
|
}
|
|
}
|