using cylsg.Model.utilityViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace cylsg.Application.Users.Dtos
{
public class UserDto
{
///
/// 用户Id
///
public int Id { get; set; }
///
/// 电话
///
public string Phone { get; set; }
///
/// 名称
///
public string name { get; set; }
///
/// 电话号码
///
public string ItCode { get; set; }
///
/// 昵称
///
public string? Nickname { get; set; }
///
/// 密码
///
public string? PassWord { get; set; }
///
/// 头像地址
///
public string? Avatar { get; set; }
///
/// 微信WxOpenId
///
public string? WxOpenId { get; set; }
///
/// 用户工人信息
///
public UserWorkerDto userWorker { get; set; }
///
/// 用户公司信息
///
public UserCompanyDto userCompany { get; set; }
///
/// 川印员工权限
///
public ECTESTOAPermissions OAPermissions { get; set; }
}
public class UserWorkerDto
{
///
/// 用户工人Id
///
public int Id { get; set; }
///
/// 用户id
///
public int UserId { get; set; }
///
/// 身份证正面路径
///
public string IdCardFace { get; set; }
///
/// 身份证反面路径
///
public string IdCardBack { get; set; }
///
/// 姓名
///
public string name { get; set; }
///
/// 电话号码
///
public string Phone { get; set; }
///
/// 身份证号
///
public string IdCode { get; set; }
///
/// 联系地址
///
public string Address { get; set; }
///
/// 简历描述
///
public string Resume { get; set; }
///
/// 提现总额
///
public decimal? TiXianZonge { get; set; }
///
/// 已提现金额
///
public decimal? YiTiXianJine { get; set; }
}
public class UserCompanyDto
{
///
/// 用户公司Id
///
public int Id { get; set; }
///
/// 用户id
///
public int UserId { get; set; }
///
/// 营业执照路径
///
public string BusinessLicense { get; set; }
///
/// 企业名称
///
public string Suppliername { get; set; }
///
/// 注册时间
///
public string Regtime { get; set; }
///
/// 联系地址
///
public string Address { get; set; }
///
/// 企业注册号
///
public string Suppliercode { get; set; }
///
/// 联系人
///
public string Contact { get; set; }
///
/// 联系电话
///
public string Phone { get; set; }
///
/// 公司简介
///
public string Resume { get; set; }
///
/// 充值余额
///
public decimal? ChongZhiYue { get; set; }
///
/// 是否可以充值,工人提现
///
public bool? IsTiXian { get; set; }
///
/// 是否管理员
///
public bool? IsAdmin { get; set; }
///
/// 昵称
///
public string Nickname { get; set; }
}
}