26 lines
593 B
C#
26 lines
593 B
C#
using System.Collections.Generic;
|
|
using WX.CRM.Model.Entity;
|
|
|
|
namespace WX.CRM.IBLL.Res
|
|
{
|
|
public interface IRES_DEPT_RULE : IRepository<RES_DEPT_RULE>
|
|
{
|
|
List<DeptRuleView> GetDeptRule();
|
|
bool Save(List<DeptRuleView> dto);
|
|
}
|
|
|
|
public class DeptRuleView
|
|
{
|
|
public decimal DEPTID { get; set; }
|
|
public string DEPTNAME { get; set; }
|
|
public decimal? RATE { get; set; }
|
|
}
|
|
|
|
public class ResDeptRuleDto
|
|
{
|
|
public int ch { get; set; }
|
|
public int crmdeptid { get; set; }
|
|
public int num { get; set; }
|
|
}
|
|
}
|