202 lines
6.2 KiB
C#
202 lines
6.2 KiB
C#
|
|
namespace ZR.Model.Business.Dto
|
|
{
|
|
/// <summary>
|
|
/// 礼品申领表查询对象
|
|
/// </summary>
|
|
public class GiftClaimQueryDto : PagerInfo
|
|
{
|
|
public string Name { get; set; }
|
|
public string Phone { get; set; }
|
|
public string Company { get; set; }
|
|
public string Address { get; set; }
|
|
public string ProductModel { get; set; }
|
|
public string ProductSerialNumber { get; set; }
|
|
public int? Status { get; set; }
|
|
|
|
public string UserWxOpenId { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 礼品申领表输入输出对象
|
|
/// </summary>
|
|
public class GiftClaimDto
|
|
{
|
|
[Required(ErrorMessage = "主键不能为空")]
|
|
[ExcelColumn(Name = "主键")]
|
|
[ExcelColumnName("主键")]
|
|
public int Id { get; set; }
|
|
|
|
[Required(ErrorMessage = "用户ID不能为空")]
|
|
[ExcelColumn(Name = "用户ID")]
|
|
[ExcelColumnName("用户ID")]
|
|
public int UserId { get; set; }
|
|
|
|
[Required(ErrorMessage = "姓名不能为空")]
|
|
[ExcelColumn(Name = "姓名")]
|
|
[ExcelColumnName("姓名")]
|
|
public string Name { get; set; }
|
|
|
|
[Required(ErrorMessage = "联系方式不能为空")]
|
|
[ExcelColumn(Name = "联系方式")]
|
|
[ExcelColumnName("联系方式")]
|
|
public string Phone { get; set; }
|
|
|
|
[ExcelColumn(Name = "工作单位")]
|
|
[ExcelColumnName("工作单位")]
|
|
public string Company { get; set; }
|
|
|
|
[Required(ErrorMessage = "收货地址不能为空")]
|
|
[ExcelColumn(Name = "收货地址")]
|
|
[ExcelColumnName("收货地址")]
|
|
public string Address { get; set; }
|
|
|
|
[Required(ErrorMessage = "产品型号不能为空")]
|
|
[ExcelColumn(Name = "产品型号")]
|
|
[ExcelColumnName("产品型号")]
|
|
public string ProductModel { get; set; }
|
|
|
|
[Required(ErrorMessage = "出品编号不能为空")]
|
|
[ExcelColumn(Name = "出品编号")]
|
|
[ExcelColumnName("出品编号")]
|
|
public string ProductSerialNumber { get; set; }
|
|
|
|
[Required(ErrorMessage = "出品年月不能为空")]
|
|
[ExcelColumn(Name = "出品年月")]
|
|
[ExcelColumnName("出品年月")]
|
|
public string ProductDate { get; set; }
|
|
|
|
[ExcelColumn(Name = "出品图片")]
|
|
[ExcelColumnName("出品图片")]
|
|
public string ProductImage { get; set; }
|
|
|
|
[ExcelColumn(Name = "提交时间", Format = "yyyy-MM-dd HH:mm:ss", Width = 20)]
|
|
[ExcelColumnName("提交时间")]
|
|
public DateTime? CreatedAt { get; set; }
|
|
|
|
[Required(ErrorMessage = "审核状态不能为空")]
|
|
[ExcelColumn(Name = "审核状态")]
|
|
[ExcelColumnName("审核状态")]
|
|
public int Status { get; set; }
|
|
|
|
|
|
|
|
[ExcelColumn(Name = "审核状态")]
|
|
public string StatusLabel { get; set; }
|
|
|
|
/// <summary>
|
|
/// 审核时间
|
|
/// </summary>
|
|
[ExcelColumn(Name = "审核时间")]
|
|
[ExcelColumnName("审核时间")]
|
|
public DateTime? ReviewAt { get; set; }
|
|
|
|
/// <summary>
|
|
/// 微信用户id
|
|
/// </summary>
|
|
[ExcelColumn(Name = "微信用户id")]
|
|
[ExcelColumnName("微信用户id")]
|
|
public string UserWxOpenId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 经度
|
|
/// </summary>
|
|
[ExcelColumn(Name = "经度")]
|
|
[ExcelColumnName("经度")]
|
|
public string Latitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// 纬度
|
|
/// </summary>
|
|
[ExcelColumn(Name = "纬度")]
|
|
[ExcelColumnName("纬度")]
|
|
public string Longitude { get; set; }
|
|
/// <summary>
|
|
/// 经纬度地址
|
|
/// </summary>
|
|
[ExcelColumn(Name = "经纬度地址")]
|
|
[ExcelColumnName("经纬度地址")]
|
|
public string GeocodedAddress { get; set; }
|
|
|
|
/// <summary>
|
|
/// ip地址
|
|
/// </summary>
|
|
[ExcelColumn(Name = "ip")]
|
|
[ExcelColumnName("ip")]
|
|
public string IP { get; set; }
|
|
|
|
/// <summary>
|
|
/// ip地址
|
|
/// </summary>
|
|
[ExcelColumn(Name = "ip地址")]
|
|
[ExcelColumnName("ip地址")]
|
|
public string IPAddress { get; set; }
|
|
|
|
}
|
|
/// <summary>
|
|
/// 礼品申领表输入输出对象
|
|
/// </summary>
|
|
public class AddGiftClaimDto
|
|
{
|
|
|
|
[Required(ErrorMessage = "用户ID不能为空")]
|
|
[ExcelColumn(Name = "用户ID")]
|
|
[ExcelColumnName("用户ID")]
|
|
public int UserId { get; set; }
|
|
|
|
[Required(ErrorMessage = "姓名不能为空")]
|
|
[ExcelColumn(Name = "姓名")]
|
|
[ExcelColumnName("姓名")]
|
|
public string Name { get; set; }
|
|
|
|
[Required(ErrorMessage = "联系方式不能为空")]
|
|
[ExcelColumn(Name = "联系方式")]
|
|
[ExcelColumnName("联系方式")]
|
|
public string Phone { get; set; }
|
|
|
|
[ExcelColumn(Name = "工作单位")]
|
|
[ExcelColumnName("工作单位")]
|
|
public string Company { get; set; }
|
|
|
|
[Required(ErrorMessage = "收货地址不能为空")]
|
|
[ExcelColumn(Name = "收货地址")]
|
|
[ExcelColumnName("收货地址")]
|
|
public string Address { get; set; }
|
|
|
|
[Required(ErrorMessage = "产品型号不能为空")]
|
|
[ExcelColumn(Name = "产品型号")]
|
|
[ExcelColumnName("产品型号")]
|
|
public string ProductModel { get; set; }
|
|
|
|
[Required(ErrorMessage = "出品编号不能为空")]
|
|
[ExcelColumn(Name = "出品编号")]
|
|
[ExcelColumnName("出品编号")]
|
|
public string ProductSerialNumber { get; set; }
|
|
|
|
[Required(ErrorMessage = "出品年月不能为空")]
|
|
[ExcelColumn(Name = "出品年月")]
|
|
[ExcelColumnName("出品年月")]
|
|
public string ProductDate { get; set; }
|
|
[Required(ErrorMessage = "出品图片不能为空")]
|
|
[ExcelColumn(Name = "出品图片")]
|
|
[ExcelColumnName("出品图片")]
|
|
public string ProductImage { get; set; }
|
|
|
|
/// <summary>
|
|
/// 纬度
|
|
/// </summary>
|
|
public string Latitude { get; set; }
|
|
|
|
/// <summary>
|
|
/// 经度
|
|
/// </summary>
|
|
public string Longitude { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} |