OpenAuth.Net/OpenAuth.Repository/Domain/FrmLeaveReq.cs
yubaolee 9c2d044d12 增加雪花算法https://gitee.com/yitter/idgenerator
增加对数据库主键为numberic的支持
2021-03-13 16:21:56 +08:00

102 lines
3.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a CodeSmith Template.
//
// DO NOT MODIFY contents of this file. Changes to this
// file will be lost if the code is regenerated.
// Author:Yubao Li
// </autogenerated>
//------------------------------------------------------------------------------
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
/// <summary>
/// 模拟一个自定页面的表单该数据会关联到流程实例FrmData可用于复杂页面的设计及后期的数据分析
/// </summary>
[Table("FrmLeaveReq")]
public partial class FrmLeaveReq : StringEntity
{
public FrmLeaveReq()
{
this.UserName= string.Empty;
this.RequestType= string.Empty;
this.StartDate= DateTime.Now;
this.StartTime= DateTime.Now;
this.EndDate= DateTime.Now;
this.EndTime= DateTime.Now;
this.RequestComment= string.Empty;
this.Attachment= string.Empty;
this.CreateDate= DateTime.Now;
this.CreateUserId= string.Empty;
this.CreateUserName= string.Empty;
this.FlowInstanceId = string.Empty;
}
/// <summary>
/// 请假人姓名
/// </summary>
[Description("请假人姓名")]
public string UserName { get; set; }
/// <summary>
/// 请假分类,病假,事假,公休等
/// </summary>
[Description("请假分类,病假,事假,公休等")]
public string RequestType { get; set; }
/// <summary>
/// 开始日期
/// </summary>
[Description("开始日期")]
public System.DateTime StartDate { get; set; }
/// <summary>
/// 开始时间
/// </summary>
[Description("开始时间")]
public System.DateTime? StartTime { get; set; }
/// <summary>
/// 结束日期
/// </summary>
[Description("结束日期")]
public System.DateTime EndDate { get; set; }
/// <summary>
/// 结束时间
/// </summary>
[Description("结束时间")]
public System.DateTime? EndTime { get; set; }
/// <summary>
/// 请假说明
/// </summary>
[Description("请假说明")]
public string RequestComment { get; set; }
/// <summary>
/// 附件,用于提交病假证据等
/// </summary>
[Description("附件,用于提交病假证据等")]
public string Attachment { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Description("创建时间")]
public System.DateTime CreateDate { get; set; }
/// <summary>
/// 创建用户主键
/// </summary>
[Description("创建用户主键")]
public string CreateUserId { get; set; }
/// <summary>
/// 创建用户
/// </summary>
[Description("创建用户")]
public string CreateUserName { get; set; }
/// <summary>
/// 所属流程实例ID
/// </summary>
public string FlowInstanceId { get; set; }
}
}