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.

43 lines
1.1 KiB
C#

using SqlSugar;
namespace DS.WMS.Core.Sys.Entity;
/// <summary>
/// 用户字段设置
/// </summary>
[SqlSugar.SugarTable("sys_field_set")]
public class SysFieldSet
{
/// <summary>
/// ID
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 用户id
/// </summary>
public long? UserId { get; set; }
/// <summary>
/// 权限Id
/// </summary>
public long? PermissionId { get; set; }
/// <summary>
/// 标识序号
/// </summary>
[SugarColumn(ColumnDescription = "标识序号", IsNullable = false, DefaultValue = "0")]
public int TagNo { get; set; } = 0;
/// <summary>
/// 字段设置
/// </summary>
[SugarColumn(ColumnDescription = "字段设置", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string Content { get; set; }
/// <summary>
/// 租户Id
/// </summary>
[SugarColumn(ColumnDescription = "租户Id", IsNullable = true)]
public long? TenantId { get; set; }
}