using System;
using System.Collections.Generic;

namespace WebAPIServer.Models;

/// <summary>
/// 用户列表
/// </summary>
public partial class TblUtsManageUser
{
    /// <summary>
    /// 用户索引
    /// </summary>
    public int Id { get; set; }

    /// <summary>
    /// 所属公司ID
    /// </summary>
    public int CompanyId { get; set; }

    /// <summary>
    /// 用户名
    /// </summary>
    public string? UserName { get; set; }

    /// <summary>
    /// 登录密码
    /// </summary>
    public string? Password { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }

    /// <summary>
    /// 手机号码
    /// </summary>
    public string? Mobile { get; set; }

    /// <summary>
    /// 微信账号
    /// </summary>
    public string? WeiXin { get; set; }

    /// <summary>
    /// 电子邮箱
    /// </summary>
    public string? Email { get; set; }

    /// <summary>
    /// 是否有效
    /// </summary>
    public bool IsValid { get; set; }

    /// <summary>
    /// 是否为管理员 默认是0 管理员为1
    /// </summary>
    public bool IsAdmin { get; set; }

    /// <summary>
    /// 条码登陆
    /// </summary>
    public string? BarCode { get; set; }

    /// <summary>
    /// 设置条码权限
    /// </summary>
    public bool SetBarCode { get; set; }

    public DateTime? UpdateTime { get; set; }

    /// <summary>
    /// 设置结单权限
    /// </summary>
    public bool AccountBill { get; set; }

    /// <summary>
    /// 登录密码明文
    /// </summary>
    public string? PlaintextPwd { get; set; }
}
