39 lines
1.1 KiB
C#
39 lines
1.1 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_RIGHT")]
|
|
public partial class BAS_RIGHT
|
|
{
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
|
public BAS_RIGHT()
|
|
{
|
|
BAS_ROLERIGHTRESOURCE = new HashSet<BAS_ROLERIGHTRESOURCE>();
|
|
}
|
|
|
|
[Key]
|
|
[StringLength(4)]
|
|
public string RIGHTID { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(50)]
|
|
public string RNAME { get; set; }
|
|
|
|
public decimal SORTID { get; set; }
|
|
|
|
public DateTime? CTIME { get; set; }
|
|
|
|
public decimal? CREATEUSER { get; set; }
|
|
|
|
public decimal? GROUPID { get; set; }
|
|
|
|
public virtual BAS_RIGHTGROUP BAS_RIGHTGROUP { get; set; }
|
|
|
|
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
|
public virtual ICollection<BAS_ROLERIGHTRESOURCE> BAS_ROLERIGHTRESOURCE { get; set; }
|
|
}
|
|
}
|