using LeaRun.Application.Code;
using System;
namespace LeaRun.Application.Entity.SystemManage
{
///
/// 版 本 6.1
/// Copyright (c) 2013-2016 上海力软信息技术有限公司
/// 创建人:佘赐雄
/// 日 期:2015.12.21 16:19
/// 描 述:编号规则格式
///
public class CodeRuleFormatEntity : BaseEntity
{
#region 实体成员
///
/// 编号规则格式主键
///
public string RuleFormatId { get; set; }
///
/// 编码规则主键
///
public string RuleId { get; set; }
///
/// 项目类型
///
public int? ItemType { get; set; }
///
/// 项目类型名称
///
public string ItemTypeName { get; set; }
///
/// 格式化字符串
///
public string FormatStr { get; set; }
///
/// 步长
///
public int? StepValue { get; set; }
///
/// 初始值
///
public int? InitValue { get; set; }
///
/// 排序码
///
public int? SortCode { get; set; }
///
/// 删除标记
///
public int? DeleteMark { get; set; }
///
/// 有效标志
///
public int? EnabledMark { get; set; }
///
/// 备注
///
public string Description { get; set; }
#endregion
#region 扩展操作
///
/// 新增调用
///
public override void Create()
{
this.RuleFormatId = Guid.NewGuid().ToString();
this.DeleteMark = 0;
this.EnabledMark = 1;
}
///
/// 编辑调用
///
///
public override void Modify(string keyValue)
{
}
#endregion
}
}