标签:string ninject cti style ace png record 代码生成 read
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CommonContract.Condition { public class PageInfo { /// <summary> /// 每页行数 /// </summary> public int rows { get; set; } /// <summary> /// 当前页 /// </summary> public int page { get; set; } /// <summary> /// 排序列 /// </summary> public string sidx { get; set; } /// <summary> /// 排序类型 /// </summary> public string sord { get; set; } /// <summary> /// 总记录数 /// </summary> public int records { get; set; } /// <summary> /// 总页数 /// </summary> public int total { get { if (records > 0) { return records % this.rows == 0 ? records / this.rows : records / this.rows + 1; } else { return 0; } } } /// <summary> /// 查询条件Json /// </summary> public string conditionJson { get; set; } } }
MVC+Ninject+三层架构+代码生成 -- 总结(三、實體類)
标签:string ninject cti style ace png record 代码生成 read
原文地址:http://www.cnblogs.com/chuangjie1988/p/7396869.html