You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.0 KiB
62 lines
1.0 KiB
using cd.dapper.extension;
|
|
using System;
|
|
|
|
namespace EC.App.AutoWeight.Photo
|
|
{
|
|
/// <summary>
|
|
/// 汽车衡
|
|
/// Copyright (c) 2019-present 汽车衡
|
|
/// 创建人:lxc
|
|
/// 日 期: 2020-11-05 12:03:48
|
|
/// 描 述: aw_photo表的实体
|
|
/// </summary>
|
|
[Table("aw_photo")]
|
|
public class PhotoEntity
|
|
{
|
|
#region Attr
|
|
|
|
/// <summary>
|
|
/// Id
|
|
/// AutoInc
|
|
/// PK
|
|
/// </summary>
|
|
[Key]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 类型
|
|
/// 0-头像 1-入场照片 2-出场照片 3-签字照片
|
|
/// </summary>
|
|
public int? Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 路径
|
|
/// </summary>
|
|
public string Path { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
public string Remark { get; set; }
|
|
|
|
#endregion Attr
|
|
|
|
#region Extend
|
|
|
|
/// <summary>
|
|
/// 上传表格参数是否合法
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public bool IsFormValid()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
#endregion Extend
|
|
}
|
|
}
|