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.
23 lines
577 B
C#
23 lines
577 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text;
|
|
|
|
namespace Txgy.EWS.Server.Models
|
|
{
|
|
[Table("roles")]
|
|
public class RoleInfo
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
[Column("role_id")]
|
|
public int RoleId { get; set; }
|
|
[Column("role_name")]
|
|
public string RoleName { get; set; }
|
|
[DefaultValue(1)]
|
|
public int state { get; set; }
|
|
}
|
|
}
|